Re: Body lost with intra-context calls using direct-vm component

2017-04-28 Thread Bernard Ligny
Issue created in JIRA: https://issues.apache.org/jira/browse/CAMEL-11217 -- View this message in context: http://camel.465427.n5.nabble.com/Body-lost-with-intra-context-calls-using-direct-vm-component-tp5798327p5798476.html Sent from the Camel - Users mailing list archive at Nabble.com.

resequencer stream comparator camel

2017-04-28 Thread Moshe Recanati
Hi, I came to know that resequencer, stream with custom comparator requires that the compare results will have no gap. Since items entered and calculated dynamically I don't understand how I can make it happen. In most cases in the calculation will have gaps. Any other option to sort and prioritize

ProducerTemplate thread waits indefinitely when messaging system (Tibco EMS) was down

2017-04-28 Thread prasad.dl
I am using producerTemplate.asyncCallback(., ., .) method to publish messages to Tibco EMS. While running my application, if EMS server down then so-many producertemplate threads as waiting and my server is creating lot of threads. Please help me to resolve the issue -- View this message in co

Re: ProducerTemplate thread waits indefinitely when messaging system (Tibco EMS) was down

2017-04-28 Thread Claus Ibsen
You likely need to configure your jms client on tibco with some kind of timeout or fail fast or something. Look the the Tibco JMS documentation. On Fri, Apr 28, 2017 at 10:59 AM, prasad.dl wrote: > I am using producerTemplate.asyncCallback(., ., .) method to publish messages > to Tibco EMS. While

Re: resequencer stream comparator camel

2017-04-28 Thread Moshe Recanati
Hi, Issue resolved by using batch and calculate value once entering it to queue On Fri, Apr 28, 2017 at 11:46 AM, Moshe Recanati wrote: > Hi, > I came to know that resequencer, stream with custom comparator requires > that the compare results will have no gap. > Since items entered and calculate

How to implement DataFormat

2017-04-28 Thread David Hoffer
We have several DataFormat implementations that handle a variety of compression algorithms. We use these as beans in routes to marshal/unmarshal. Here is an example unmarshal: where zip is our Zip DataFormat implementation bean. ${file:name} regex 'obs-.*\.zip' ${header.C

Re: Camel HTTP: I/O exception (java.net.SocketException) caught when processing request: Too many open files

2017-04-28 Thread urwithsumit
Thanks Tomo for sharing your thoughts. I got the problem solved by switching from Camel-Http to Camel-Http4 component. With Http4 i was able to set the headers for closing the connections and also a timeout period. In case of Http, the connections were not closing and that was accounting towards

Re: LoadBalancing to a dynamic list of endpoints

2017-04-28 Thread deeps26
Hey do you have an example of a bean adding dynamic endpoints for load balancer and send using a producer template. -- View this message in context: http://camel.465427.n5.nabble.com/LoadBalancing-to-a-dynamic-list-of-endpoints-tp1705611p5798495.html Sent from the Camel - Users mailing list a