[esb-java-dev] [jira] Created: (ESBJAVA-308) Incorrect information
logged when
executing a configuration which has a reference to a sequence which is
exported into the Integrated Registry
Evanthika Amarasiri (JIRA)
jira at wso2.org
Tue Nov 6 23:53:14 PST 2007
Incorrect information logged when executing a configuration which has a reference to a sequence which is exported into the Integrated Registry
----------------------------------------------------------------------------------------------------------------------------------------------
Key: ESBJAVA-308
URL: http://www.wso2.org/jira/browse/ESBJAVA-308
Project: WSO2 ESB
Issue Type: Bug
Components: Sequences Management
Affects Versions: 1.1-QA-b1
Environment: Windows XP, JDK1.5.0_06, Firfox 2.0.0.8
Reporter: Evanthika Amarasiri
Assigned To: Ruwan Linton
Priority: Minor
Executed the following configuration and you will see that the text "DEBUG SequenceMediator Start : Sequence <sample_3>" is printed twice. Does this mean that the same sequence is invoked twice? Please clarrify
The configuration
===========
<?xml version="1.0" encoding="UTF-8"?>
<syn:definitions xmlns:syn="http://ws.apache.org/ns/synapse">
<syn:registry provider="org.wso2.esb.registry.ESBRegistry">
<syn:parameter name="root">file:registry/</syn:parameter>
</syn:registry>
<syn:sequence name="main">
<syn:sequence key="sample_3"/>
</syn:sequence>
<syn:sequence name="sample_3">
<syn:in>
<syn:property name="direction" value="incoming"/>
<syn:sequence key="Sequences/stockquote"/>
</syn:in>
<syn:out>
<syn:send/>
</syn:out>
</syn:sequence>
</syn:definitions>
The logs printed on the ESB console
=======================
DEBUG SynapseMessageReceiver Synapse received a new message for message mediation...
DEBUG SynapseMessageReceiver Received To: http://localhost:9000/soap/SimpleStockQuoteServ
DEBUG SynapseMessageReceiver SOAPAction: urn:getQuote
DEBUG SynapseMessageReceiver WSA-Action: urn:getQuote
DEBUG Axis2SynapseEnvironment Injecting MessageContext
DEBUG Axis2SynapseEnvironment Using Main Sequence for injected message
DEBUG SequenceMediator Start : Sequence <main>
DEBUG SequenceMediator Sequence <SequenceMediator> :: mediate()
DEBUG SequenceMediator Start : Sequence <sample_3>
DEBUG SequenceMediator Executing sequence named sample_3
DEBUG SequenceMediator Start : Sequence <sample_3>
DEBUG SequenceMediator Sequence <SequenceMediator> :: mediate()
DEBUG InMediator Start : In mediator
DEBUG InMediator Current message is incoming - executing child mediators
DEBUG InMediator Sequence <InMediator> :: mediate()
DEBUG PropertyMediator Start : Property mediator
DEBUG PropertyMediator Setting property : direction at scope : default to : incoming (i.e
DEBUG PropertyMediator End : Property mediator
DEBUG SequenceMediator Start : Sequence <Sequences/stockquote>
INFO ESBRegistry ==> Repository fetch of resource with key : Sequences/stockquote
DEBUG MediatorFactoryFinder getMediator({http://ws.apache.org/ns/synapse}sequence)
DEBUG MediatorFactoryFinder getMediator({http://ws.apache.org/ns/synapse}log)
DEBUG MediatorFactoryFinder getMediator({http://ws.apache.org/ns/synapse}send)
DEBUG SequenceMediator Executing sequence named Sequences/stockquote
DEBUG SequenceMediator Start : Sequence <anonymous>
DEBUG SequenceMediator Sequence <SequenceMediator> :: mediate()
DEBUG LogMediator Start : Log mediator
INFO ESBRegistry ==> Repository fetch of resource with key : version
INFO LogMediator text = Sending quote request,version = null,direction = incoming
DEBUG LogMediator End : Log mediator
DEBUG SendMediator Start : Send mediator
DEBUG AddressEndpoint Start : Address Endpoint
DEBUG AddressEndpoint Sending message to endpoint : AnonymousEndpoint resolves to address
DEBUG AddressEndpoint SOAPAction: urn:getQuote
DEBUG AddressEndpoint WSA-Action: urn:getQuote
DEBUG Axis2FlexibleMEPClient Sending [add = false] [sec = false] [rm = false] [ mtom = fa
lse; pox=false] [ to Address: http://localhost:9000/soap/SimpleStockQuoteService]
INFO TimeoutHandler This engine will expire all callbacks after : 86400 seconds, irrespe
DEBUG SendMediator End : Send mediator
DEBUG SequenceMediator End : Sequence <anonymous>
DEBUG SequenceMediator End : Sequence <Sequences/stockquote>
DEBUG InMediator End : In mediator
DEBUG OutMediator Start : Out mediator
DEBUG OutMediator Current message is a request - skipping child mediators
DEBUG OutMediator End : Out mediator
DEBUG SequenceMediator End : Sequence <sample_3>
DEBUG SequenceMediator End : Sequence <sample_3>
DEBUG SequenceMediator End : Sequence <main>
DEBUG SynapseCallbackReceiver Synapse received an asynchronous response message
DEBUG SynapseCallbackReceiver Received To: null
DEBUG SynapseCallbackReceiver SOAPAction: null
DEBUG SynapseCallbackReceiver WSA-Action: null
DEBUG SynapseCallbackReceiver Body :
penv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns:getQuoteResponse xmlns
Response"><ns:change>3.893106789979682</ns:change><ns:earnings>12.044217722342616</ns:ear
ast><ns:lastTradeTimestamp>Wed Nov 07 13:48:16 LKT 2007</ns:lastTradeTimestamp><ns:low>-1
name>IBM Company</ns:name><ns:open>181.5635777655263</ns:open><ns:peRatio>25.937587217145
<ns:prevClose>193.85876836837605</ns:prevClose><ns:symbol>IBM</ns:symbol><ns:volume>6275<
pe>
DEBUG Axis2SynapseEnvironment Injecting MessageContext
DEBUG Axis2SynapseEnvironment Using Main Sequence for injected message
DEBUG SequenceMediator Start : Sequence <main>
DEBUG SequenceMediator Sequence <SequenceMediator> :: mediate()
DEBUG SequenceMediator Start : Sequence <sample_3>
DEBUG SequenceMediator Executing sequence named sample_3
DEBUG SequenceMediator Start : Sequence <sample_3>
DEBUG SequenceMediator Sequence <SequenceMediator> :: mediate()
DEBUG InMediator Start : In mediator
DEBUG InMediator Current message is a response - skipping child mediators
DEBUG InMediator End : In mediator
DEBUG OutMediator Start : Out mediator
DEBUG OutMediator Current message is outgoing - executing child mediators
DEBUG OutMediator Sequence <OutMediator> :: mediate()
DEBUG SendMediator Start : Send mediator
DEBUG SendMediator Sending response message using implicit message properties..
DEBUG SendMediator End : Send mediator
DEBUG OutMediator End : Out mediator
DEBUG SequenceMediator End : Sequence <sample_3>
DEBUG SequenceMediator End : Sequence <sample_3>
DEBUG SequenceMediator End : Sequence <main>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Esb-java-dev
mailing list