RE: camel-atmosphere-websocket + TomEE

2018-05-22 Thread Shultz, Dmitry
It works but there is one annoying thing though - the exception below is logged when client disconnects: 14:38:11.133 [http-nio-8080-exec-6] ERROR o.a.container.JSR356Endpoint - java.io.IOException: java.io.IOException: An established connection was aborted by the software in your host machine

Re: Camel-salesforce Intermittent time outs

2018-05-22 Thread Zoran Regvart
Hi Dalli, you can increase the timeout from the default 6 milliseconds to any greater value that would result in a successful invocation by putting "timeout" and a numeric value in the `httpClientProperties`[1] map in the component configuration. This might not solve your issue entirely as

RE: camel-atmosphere-websocket + TomEE

2018-05-22 Thread Shultz, Dmitry
Thanks a lot Zoran, mapping org.apache.camel.component.atmosphere.websocket.CamelWebSocketServlet works! Cheers, Dmitry -Original Message- From: Zoran Regvart [mailto:zo...@regvart.com] Sent: Friday, May 18, 2018 6:30 AM To: users@camel.apache.org Subject: Re:

Re: Content based router with JSONPATH (Solution found)

2018-05-22 Thread Michael Joyner
I found JSON path statement to query the JSON object: when.jsonpath("$.name_value_list.account_type[?(@.value=='Customer')]") On 05/22/2018 08:12 AM, Michael Joyner wrote: Hi everyone. This might be a easy question, I have been fighting with it for a couple hours. I have a JSON array that

Content based router with JSONPATH

2018-05-22 Thread Michael Joyner
Hi everyone. This might be a easy question, I have been fighting with it for a couple hours. I have a JSON array that is sent to a splitter to process each JSON object. HERE'S SAMPLE JSON BODY: {     "id": "2b144adc-1af4-1446-e22a-58b367d22272",     "module_name": "Accounts",    

Request for discussion/collaboration on CAMEL-12529

2018-05-22 Thread Steve973
Hello, all. In working with the Dynamic Router feature of Camel, I believe that the EIP was implemented somewhat incorrectly. Currently, it operates as described -- messages are continually re-routed through the dynamic router until the routing method returns null. However, this is not how the

RE: Config parameters in splitter group attribute, was: Re: camel-atmosphere-websocket + TomEE

2018-05-22 Thread Mills, Gary (GE Digital)
Thanks so much Zoran, I've been able to actually get this working using properties place holder. I found Claus's answer to a similar question on net. Lots of digging but I finally found it. my quest for info and answers didn't go deep enough. I found this was already encounted and answered

Re: File2 error during commit, how can I handle the exception?

2018-05-22 Thread Zoran Regvart
Hi Martin, to handle exceptions at that stage you need to register your ExceptionHandler as `onCompletionExceptionHandler` on the file endpoint[1]. zoran [1] https://github.com/apache/camel/blob/master/camel-core/src/main/docs/file-component.adoc#user-content-query-parameters-85-parameters On

Config parameters in splitter group attribute, was: Re: camel-atmosphere-websocket + TomEE

2018-05-22 Thread Zoran Regvart
Hi Gary, I think you can use property placeholders for `group` in version 2.20 onwards. The support for that was added in CAMEL-11421[1]. zoran [1] https://issues.apache.org/jira/browse/CAMEL-11421 On Fri, May 18, 2018 at 5:35 PM, Mills, Gary (GE Digital) wrote: > can you