thanks that did the trick.
On 03/17/2014 11:16 AM, Stephan Burkard [via Camel] wrote:
> You could perhaps use the Loop EIP: https://camel.apache.org/loop.html
>
> It uses the result of the previous loop iteration for the next. You
> have to
> define the criteria to stop the loop (for example as h
Geat. thanks for the tip. The loop route actually did the trick.
On 03/18/2014 01:30 AM, Claus Ibsen-2 [via Camel] wrote:
> Hi
>
> You likely need to reset the stream cache to be able to re-read it again
> org.apache.camel.StreamCache#reset
>
> On Tue, Mar 18, 2014 at 3:43 AM, aidatechinc <[hidd
Hi
You likely need to reset the stream cache to be able to re-read it again
org.apache.camel.StreamCache#reset
On Tue, Mar 18, 2014 at 3:43 AM, aidatechinc wrote:
> Thanks for taking the time to respond. We did write a bean to handle the
> message, but we realize that since we enable the strea
Thanks for taking the time to respond. We did write a bean to handle the
message, but we realize that since we enable the streamCache, the message
gets overwritten while we are processing it. Is that due to the stream?
Ideally we want to handle and process one message at a time, but the stream
Or the dynamic router
http://camel.apache.org/dynamic-router.html
But its often also easier to write a bean with a method, that has the
looping logic, and then use a producer template (or pojo producing) to
call the http and get the reply, and process it there.
http://camel.apache.org/producertemp
You could perhaps use the Loop EIP: https://camel.apache.org/loop.html
It uses the result of the previous loop iteration for the next. You have to
define the criteria to stop the loop (for example as header variable).
Hope this helps
Stephan
On Mon, Mar 17, 2014 at 3:13 AM, aidatechinc wrote