synapse-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Bohnenberger <keith.bohnenber...@mantech.com>
Subject Re: snapshot clone
Date Tue, 14 Apr 2009 20:41:58 GMT
I got this to work ...
I had to change:
>                   <target>
>                      <sequence key="lniSequence"/>
>                   </target>
to:
<target sequence="lniSequence"/>

To get it to work.

With the first way, the code seemed to think there was an anonymous sequence
in the target that did nothing.  It didn't pick up the sequence element
inside the target element.

Keith


On 4/14/09 2:10 PM, "Keith Bohnenberger" <keith.bohnenberger@mantech.com>
wrote:

> 
> I'm having trouble getting clone to work.
> Here is what I have:
> ...
>     <proxy name="receiveJMSKoList" transports="jms">
>         <target>
>             <inSequence>
>                 <property action="set" name="OUT_ONLY" value="true"/>
>            <sequence key="validateJmsKoList"/>
>                 <clone continueParent="false">
>                   <target>
>                      <sequence key="lniSequence"/>
>                   </target>
>                   <target>
>                      <sequence key="ircSequence"/>
>                   </target>
>                 </clone>
>             </inSequence>
>         </target>
>         <parameter name="transport.jms.ContentType">
>             <rules>
>                 <jmsProperty>contentType</jmsProperty>
>                 <default>application/xml</default>
>             </rules>
>         </parameter>
>         <parameter
> name="transport.jms.ConnectionFactory">incomingQueueFactory</parameter>
>         <parameter
> name="transport.jms.Destination">cn=incomingQueue</parameter>
>     </proxy>
> ...
> 
> Incoming messages produce this in the log:
> 2009-04-14 14:07:47,780 [-] [jms-Worker-2] DEBUG CloneMediator Start : Clone
> mediator
> 2009-04-14 14:07:47,780 [-] [jms-Worker-2] DEBUG CloneMediator Submitting 1
> of 2 messages for processing in parallel
> 2009-04-14 14:07:47,780 [-] [jms-Worker-2] DEBUG Axis2SynapseEnvironment
> Creating Message Context
> 2009-04-14 14:07:47,783 [-] [jms-Worker-2]  INFO MessageHelper Parent's
> Fault Stack : [] : Child's Fault Stack :[]
> 2009-04-14 14:07:47,784 [-] [jms-Worker-2] DEBUG Axis2SynapseEnvironment
> Injecting MessageContext for asynchronous mediation using the : Anonymous
> Sequence
> 2009-04-14 14:07:47,784 [-] [jms-Worker-2] DEBUG CloneMediator Submitting 2
> of 2 messages for processing in parallel
> 2009-04-14 14:07:47,784 [-] [jms-Worker-2] DEBUG Axis2SynapseEnvironment
> Creating Message Context
> 2009-04-14 14:07:47,787 [-] [jms-Worker-2]  INFO MessageHelper Parent's
> Fault Stack : [] : Child's Fault Stack :[]
> 2009-04-14 14:07:47,787 [-] [jms-Worker-2] DEBUG Axis2SynapseEnvironment
> Injecting MessageContext for asynchronous mediation using the : Anonymous
> Sequence
> 2009-04-14 14:07:47,787 [-] [jms-Worker-2] DEBUG CloneMediator End : Clone
> mediator
> 
> Any thoughts?

This communication, along with any attachments, is covered by federal and state law governing
electronic communications and may contain company proprietary and legally privileged information.
 
If the reader of this message is not the intended recipient, you are hereby notified that
any dissemination, distribution, use or copying of this message is strictly prohibited.  
If you have received this in error, please reply immediately to the sender and delete this
message.  Thank you.


Mime
View raw message