Quantcast
Viewing all articles
Browse latest Browse all 5648

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橪;consumer.delay=20s橪;consumer.useFixedDelay=true橪;noop=true橪;idempotent=false"
id="fileRequest" />

<to uri="http4://xx.xxx.xxx.xxx:8081" id="cxfSOAPHost1" />

<to
uri="rabbitmq://exchange?exchangeType=fanout橪;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.

Viewing all articles
Browse latest Browse all 5648

Trending Articles