Re: Two Camel Configs Polling Same IBM MQ. Only one picking the message

2017-05-24 Thread clinton
There is a property on the queue itself inside of MQ, that can control this. Called Default ReadAhead. Set to "disabled" -- View this message in context: http://camel.465427.n5.nabble.com/Two-Camel-Configs-Polling-Same-IBM-MQ-Only-one-picking-the-message-tp5800355p5800405.html Sent from the C

Re: Two Camel Configs Polling Same IBM MQ. Only one picking the message

2017-05-24 Thread thulasi
thanks for the reply. can you please send the property which needs to be configured. -- View this message in context: http://camel.465427.n5.nabble.com/Two-Camel-Configs-Polling-Same-IBM-MQ-Only-one-picking-the-message-tp5800355p5800368.html Sent from the Camel - Users mailing list archive at

Re: Two Camel Configs Polling Same IBM MQ. Only one picking the message

2017-05-24 Thread clinton
I think you have some "read ahead" (prefetching) going on. I've seen that happening such that a consumer doesn't just read "the next" msg, but reads in a bunch and holds them for the consuming process. You should be able to limit that behavior with a property setting. -- View this message in

Re: Camel-Beanio not finding Bean Class

2017-05-24 Thread Claus Ibsen
You can try turn on dynamic import on camel-beanio, there is a dev:dynamic-import command in karaf I think On Wed, May 24, 2017 at 4:24 PM, Jose Correia2 wrote: > Hi all, > > I'm using apache-servicemix-7.0.0, and using camel-beanio with it (2.16.4). > > So I have defined a route that calls beani

Re: CamelContext Fails to start when consuming from a down database

2017-05-24 Thread Quinn Stevenson
I’ve dealt with situations like this using Blueprint reference-listeners. Basically, I setup a reference listener to start the context when a service becomes available (or restart the context if the service implementation is switched). For this to work, I had to write a little code that exposed

Re: how to unit test a Java Route which uses a property-placeholder

2017-05-24 Thread Quinn Stevenson
I use CamelBlueprintTestSupport and the setConfigAdminInitialConfiguration method. > On May 16, 2017, at 9:23 AM, Mark wrote: > > I have a class that extends RouteBuilder and loaded from a blueprint file > using the tag. In my blueprint file I also use > property-placeholder to set some val

Camel-Beanio not finding Bean Class

2017-05-24 Thread Jose Correia2
Hi all, I'm using apache-servicemix-7.0.0, and using camel-beanio with it (2.16.4). So I have defined a route that calls beanio to parse a file. However the Class that the records map to is in an external jar. I have tried to wrap this external jar using: https://access.redhat.com/documentatio

Two Camel Configs Polling Same IBM MQ. Only one picking the message

2017-05-24 Thread thulasi
hi, i have two camel applications running in 2 different VM's, both the applications are polling same MQ to pull the requests. when i try to run one application at a time, each application is reading messages without any issue(when only application is running) when i try running both application

Re: Oracle Function Calls with Camel-sql 2.19.0

2017-05-24 Thread Claus Ibsen
Hi Thanks that was helpful, I have logged a ticket https://issues.apache.org/jira/browse/CAMEL-11319 On Wed, May 24, 2017 at 8:46 AM, imranrazakhan wrote: > Hi, > > I found below customized solution for Oracle function and dont know if > Apache Camel can support this in Components > > https://gi

Re: Set JMSCorrelationId in activeMQ using spring DSL

2017-05-24 Thread Claus Ibsen
Yeah a good idea is to look in the unit tests of camel-jms so you can find some examples such as https://github.com/apache/camel/blob/master/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRequestReplyCorrelationTest.java On Wed, May 24, 2017 at 2:13 PM, clinton wrote: > Try

Re: Set JMSCorrelationId in activeMQ using spring DSL

2017-05-24 Thread clinton
Try JMSCorrelationID -- View this message in context: http://camel.465427.n5.nabble.com/Set-JMSCorrelationId-in-activeMQ-using-spring-DSL-tp5800170p5800344.html Sent from the Camel - Users mailing list archive at Nabble.com.