camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aidatechinc <HFAO...@AIDATECH.COM>
Subject exchange body being updated while route is not complete
Date Sun, 16 Mar 2014 14:47:32 GMT
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.

Mime
View raw message