Re: Simple IN with empty value in list

2016-12-02 Thread Karts
Thanks Claus, the double comma works well. -- View this message in context: http://camel.465427.n5.nabble.com/Simple-IN-with-empty-value-in-list-tp5790907p5790960.html Sent from the Camel - Users mailing list archive at Nabble.com.

[ANNOUNCEMENT] Apache Camel 2.18.1 Released

2016-12-02 Thread Gregor Zurowski
The Camel community announces the immediate availability of the new patch release Camel 2.18.1. This release contains 68 bug fixes and improvements applied in the past months by the community on the Camel 2.18.x branch. The artifacts are published and ready for you to download [1] either from the

Camel-ZooKeeperRoutePolicy clarification - Slave Camel does not start after Master Camel shutdown

2016-12-02 Thread Baltej Singh
Second Attempt for feedback - Slave Camel does not start after Master Camel shutdown Steps 1. Start Master and Slave in separate cmds 2. Master Camel server starts properly and prints message. I was fired at Fri Nov 18 15:18:28 PST 2016 I was fired at Fri Nov 18 15:18:30 PST 2016

Re: Simple IN with empty value in list

2016-12-02 Thread Claus Ibsen
Hi Yeah that would work, but I just checked you can get empty value if you use double comma, eg ',,gold,silver' On Fri, Dec 2, 2016 at 5:46 PM, Quinn Stevenson wrote: > Maybe something like this would work? > > .choice.when.simple("${body.stringValue.isEmpty} ||

Re: Simple IN with empty value in list

2016-12-02 Thread Karts
In the end I just used .process() before the choice, got body.stringValue in the Java code, tested and set an exchange header "isValid" to "true" if so, and then subsequently tested for this in simple. I didn't use something like .choice.when.simple("${body.stringValue.isEmpty} ||

Re: Simple IN with empty value in list

2016-12-02 Thread Quinn Stevenson
Maybe something like this would work? .choice.when.simple("${body.stringValue.isEmpty} || ${body.stringValue} in 'gold,silver’") > On Dec 2, 2016, at 9:23 AM, Claus Ibsen wrote: > > I dont think an empty value is supported > > On Fri, Dec 2, 2016 at 3:59 PM, Karts

Re: Simple IN with empty value in list

2016-12-02 Thread Claus Ibsen
I dont think an empty value is supported On Fri, Dec 2, 2016 at 3:59 PM, Karts wrote: > Sorry, to be clear, body.stringValue could be "", "gold", "silver", "bronze", > "platinum", etc. > > I am trying to test so that only "", "gold" or "silver" are allowed before > moving

Re: Activemq consumer is closing

2016-12-02 Thread boday
we set the idleTimeout to 0 in the PooledConnectionFactory config like this... ** - Ben O'Day IT Consultant -http://consulting-notes.com -- View this message in context:

using externalized xslt for transformation from server

2016-12-02 Thread ravi21588
Hi All, Iam using camel 2.10 with Jboss EAP 6.1 server. I would like to externalize XSLT for transformation by placing it as a file in some location in server. Can you please let me know how can i acheive. The XSLT transformation frequently changes,will the xslt be picked correctly without any

Re: Simple IN with empty value in list

2016-12-02 Thread Karts
Sorry, to be clear, body.stringValue could be "", "gold", "silver", "bronze", "platinum", etc. I am trying to test so that only "", "gold" or "silver" are allowed before moving forward, which is why I have the comma at the start, to allow for a blank (not null) value:

Camel Mail Component doesn't handle multiple attachments with same file name properly

2016-12-02 Thread Petteri
Hi, I'm using Apache Camel and its mail component to read emails and their attachments. I have encountered a problem which occurs when handling mails with multiple attachments using the same file name. It seems that the problem is caused by the use of Map type in

Re: Simple IN with empty value in list

2016-12-02 Thread Claus Ibsen
You have a comma before gold. It should just be 'gold,silver' On Thu, Dec 1, 2016 at 11:33 PM, Karts wrote: > Hi, > > I'm trying to use simple to test for an empty value in a list, so something > like: > > simple("${body.stringValue} in ',gold,silver'") > > It doesn't

Re: Activemq consumer is closing

2016-12-02 Thread Claus Ibsen
Hi I suggest to ask on the ActiveMQ user mailing list. On Fri, Dec 2, 2016 at 7:29 AM, nitinaggarwal wrote: > Hi, > > I am using apache-activemq-5.14.1 and getting the below issue. > > javax.jms.IllegalStateException: The Consumer is closed > at >