Re: Camel Multicast behaving strangely - please help

2016-12-12 Thread Nikhil Vibhav
Hey Nishat, I see that you've added the 'new DeepCloneRequest()' in a process() statement rather than a 'onPrepare()'. Can you check the onPrepare section (the last section) for the Camel multicast documentation - http://camel.apache.org/multicast.html Thanks, Nikhil. On Tue, 13 Dec 2016 at 02:

Re: Camel Multicast behaving strangely - please help

2016-12-12 Thread nishat
Hello Nikhil, just to clarify the request is a pojo. and i want to send the exact copy of request to the multicasted endpoints. The problem is after first route in multicast, the second route dont get the exact copy of the initial route but a processed copy of first route. hoping to receive some

Camel JMS producers not recovering from WMQ restart or network issue

2016-12-12 Thread Fernando Giorgetti
Hello, We have a camel based application running in production for a couple of years with no issues. The application is basically an WMQ Consumer App that at certain point of its route, delivers an InOnly message to a given queue. Recently, we faced a scenario in which the app is not being able

Re: Camel Multicast behaving strangely - please help

2016-12-12 Thread Nikhil Vibhav
Hi Nishat, If the request at the endpoint is an ArrayList and you need to send individual elements of that list to different routes, you can also use a splitter to split the body and then parallel process and send it to different routes (instead of multicast). Thanks, Nikhil On Mon, 12 Dec 2016

Dynamic Router: forwarding and tracking

2016-12-12 Thread raffi
Trying to understand Dynamic Router, docs are somewhat confusing. Anyway, assuming this *Router*... from("seda:router") .dynamicRouter(method(Slip.class, "slip")); ..and this *Slip* generator: int invoked = 0; public String slip(String body) { if (invoked == 0) { invoked++;

RE: Camel Multicast behaving strangely - please help

2016-12-12 Thread nishat
Thanks for the response. but the problem is that my endpoint are coming from a ArraylistList for multicast. But i will try you suggestion by hard coding it. will let you know in a while. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Multicast-behaving-strangely-please

RE: Camel Multicast behaving strangely - please help

2016-12-12 Thread nishat
Hello Hans, I tried your suggestion but got the same issue. any other idea? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Multicast-behaving-strangely-please-help-tp5791319p5791327.html Sent from the Camel - Users mailing list archive at Nabble.com.

How to react in CometD if too many requests come to server?

2016-12-12 Thread perry
We are using CometD as framework to push messages from server side to client side in app. In doc https://docs.cometd.org/current/reference/#_configuring_code_bayeuxserver_code, there is one property "interval" to control reconnect(/meta/connect request) from client side, but this seems like static