You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by aidatechinc <HF...@AIDATECH.COM> on 2014/03/16 15:47:32 UTC

exchange body being updated while route is not complete

Hello,
  Below is a route, once I put the message in rabbit mq, the body is being
updated by the pipe afterwards, is that possible?

 <route id="post" autoStartup="false" streamCache="true">
            
                 
                <from
uri="file:/request_mod?consumer.initialDelay=2000&amp;consumer.delay=20s&amp;consumer.useFixedDelay=true&amp;noop=true&amp;idempotent=false"
id="fileRequest" />

                <to uri="http4://xx.xxx.xxx.xxx:8081" id="cxfSOAPHost1" />
                
                 
                <to
uri="rabbitmq://exchange?exchangeType=fanout&amp;exchangeDurable=true"
id="sampleRmq" />

                
                <transform>
                    <simple    
resultType="java.io.File">/temp/request.xml</simple>
                </transform>    

                <to uri="xslt:/jobs/xslt/newPosition.xslt"/>
                <to uri="file:/request_mod?fileName=request.xml"/>  
                
what is happening, is that when we go to put the body in rabbit mq, its
putting the exchange body of what is being transformed afterwards. shouldn't
that bee sequential?  We have tried using onCompletion, multicast, wiretap,
its seem that the stream is being updated by multiple threads.

your help is appreciated.




--
View this message in context: http://camel.465427.n5.nabble.com/exchange-body-being-updated-while-route-is-not-complete-tp5748866.html
Sent from the Camel - Users mailing list archive at Nabble.com.