Aggregate Results from SEDA

2017-02-24 Thread pavijit
I have the following scenario: 1. I am making multiple calls to a SEDA route for parallel processing 2. I need to check result of all the calls to SEDA route processing 3. If all SEDA route calls were successful I need to call a DirectVM route 4. If any SEDA route call fails I need to stop all sub

Re: Camel route does not reconnect

2017-02-24 Thread souciance
I would say that is a activemq setting firstly. In websphere mq the same thing happens unless you define a backout queue for your input queue. Alternatively must be a setting for setting number of times the message should be rolled back.. Den 24 feb. 2017 5:07 em skrev "Nader [via Camel]" < ml-no

Re: Camel-CXF in tomee

2017-02-24 Thread Romain Manni-Bucau
What's the full stack? if you use an old camel-cdi (you didnt mention it) then several versions were buggy and only few weld versions were supported. Romain Manni-Bucau @rmannibucau | Blog | Old Blog

Re: Camel route does not reconnect

2017-02-24 Thread Nader
I am aware of request/reply pattern, hence the disableReplyTo=true at beginning of message history. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-route-does-not-reconnect-tp5794411p5794447.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel-CXF in tomee

2017-02-24 Thread syadav
if I am using cxf:bean, it is giving below error. For your information the same application worked in glassfish server without any changes even no exclusions and with cxfbean: route. 2017-02-24 21:32:35 DEBUG DefaultCamelContext:865 - Adding routes from builder: Routes: [] SEVERE - CDI Beans mod

Re: Camel route does not reconnect

2017-02-24 Thread Nader
That's why I started this discussion . If we don't restart the application then the error persist forever. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-route-does-not-reconnect-tp5794411p5794445.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: Passing parameters from routes to components

2017-02-24 Thread Steve Huston
Re properties... Sure, there is a long description at http://camel.apache.org/properties.html There are a number of mechanisms for getting the properties injected, depending on how you package and deploy your application. Here is one discussion: http://stackoverflow.com/questions/19457818/how-d

Re: Camel-CXF in tomee

2017-02-24 Thread Romain Manni-Bucau
isnt it cxf:bean? Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github | LinkedIn | JavaEE Factory

Re: Camel route does not reconnect

2017-02-24 Thread souciance
Just a question, but why do you need to restart the Camel application? Even if you get time out the code should gracefully handle the error and roll back or do something to indicate that an error occured but you shouldn't have to restart it? On Fri, Feb 24, 2017 at 4:32 PM, Nader [via Camel] < ml

Re: Camel route does not reconnect

2017-02-24 Thread Nader
Thanks a lot for your suggestion. The problem as I understand it is, there is a connection between sender and receivers parties, but its seems that camel acts on an old session. Another thing is: The "the out message was " get into the trace in few milliseconds. [2017-02-24 11:10:57,068] [I

Re: Camel route does not reconnect

2017-02-24 Thread Nader
I am not developer, but am a MQ-administrator. If you have a specific question about the code (I hope regarding the camel-route) then I will try to provide that to you, otherwise I have to get a developer involved into this discussion. Doesn't the trace indicate that the session is not timing out

Re: Camel-CXF in tomee

2017-02-24 Thread syadav
extended routebuilder and in configure method added following line from("servlet:///auas?servletName=CamelServlet&matchOnUriPrefix=true").to("cxfbean:REST_Service?providers=#JsonProvider") -- View this message in context: http://camel.465427.n5.nabble.com/Camel-CXF-in-tomee-tp5794355p5794438.h

Re: Camel route does not reconnect

2017-02-24 Thread Claus Ibsen
That OUT message error is when you do request/reply over JMS (eg InOut) then the reply message was not sent back to the JMSReplyTo queue within those 30 seconds, and therefore Camel times out and fails. The JMS component has options to set higher timeout and much more On Fri, Feb 24, 2017 at 3:48

Re: Camel-CXF in tomee

2017-02-24 Thread Romain Manni-Bucau
how do you define the endpoint? Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github | LinkedIn | JavaEE Fa

RE: Passing parameters from routes to components

2017-02-24 Thread Erol
Yes, can you please tell me more or do you maybe have an example? -- View this message in context: http://camel.465427.n5.nabble.com/Passing-parameters-from-routes-to-components-tp5794341p5794429.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel-CXF in tomee

2017-02-24 Thread syadav
After exclusion of camel using exclusions.list in tomee/conf,I am getting the following error and below is the exclusions.list default-list camel-cxf Please help in resolving this SEVERE - Failed to create route route1 at: >>> To[cxfbean:REST_Service?providers=#JsonProvider] <<< in route: Route

Re: Camel route does not reconnect

2017-02-24 Thread Nader
Sure! After these messages, the last message "The OUT message was not receive ..." get repeated every 30 seconds. Exchange[ID-the-Host-34071-1487843214861-0-829] at country.firm.integration.route.processor.CheckExceptionProcessor.process(CheckExceptionProcessor.java:55) at org.apa

Re: Camel route does not reconnect

2017-02-24 Thread Nader
Thanks a lot for your quick answers. There are two facts that I didn't include in my request for keeping it as simple as possible. 1. If we restart the camel-integrated application, then every thing goes alright. The application retry to connect to the consuming-application and deliver correctly

Re: Camel route does not reconnect

2017-02-24 Thread souciance
Well the thing is the statement here: [org.apache.camel.ExchangeTimedOutException: The OUT message was not received within: says that it got a time out issue and also at the end of the log there are statements that indicate the the route seems to use the mina component to send the data. But witho

Re: Camel route does not reconnect

2017-02-24 Thread souciance
Can you share your route or at the least the "camel" part? On Fri, Feb 24, 2017 at 2:56 PM, Nader [via Camel] < ml-node+s465427n579442...@n5.nabble.com> wrote: > Thanks a lot for your quick answers. > > There are two facts that I didn't include in my request for keeping it as > simple as possible

Re: Camel-CXF in tomee

2017-02-24 Thread Romain Manni-Bucau
you can check "scanning configuration" on http://tomee.apache.org/refcard/refcard.html for the how about the what, my blind guess is cxf and camel but depends your app Romain Manni-Bucau @rmannibucau | Blog | Old Blog

Re: Camel-CXF in tomee

2017-02-24 Thread syadav
what should be excluded from scanning. Please tell me the jar and where to add this to skip it. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-CXF-in-tomee-tp5794355p5794420.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel route does not reconnect

2017-02-24 Thread Claus Ibsen
Its more of an ActiveMQ questions as you need to setup it properly (failover and reconnect settings, connection pooling etc). And also in Camel you can use its error handler to retry (redeliver) a message, so look at Camels error handler docs. On Fri, Feb 24, 2017 at 1:41 PM, Nader wrote: > Hell

Camel route does not reconnect

2017-02-24 Thread Nader
Hello Our camel integrated-application gets messages from ActiveMQ and delivers it to a consuming-application. Because of network glitches, sometimes, the consuming-application is not available for a while. Even the consuming-application is online again, the camel-integrated application fails to

Re: Multiple camel producers instantiated

2017-02-24 Thread Shiva
Hi John, The endpoint is already a Singleton. The issue doesn't happen when I start the application. The application starts with an Endpoint creating a producer for that endpoint. But after a some messages are successfully produced and consumed, there is another Producer instantiated when a messag

Re: Camel-CXF in tomee

2017-02-24 Thread Romain Manni-Bucau
as expected in a EE container, org.apache.cxf.databinding.AbstractDataBinding is scanned but this is not a valid EE class so you need to ensure it is excluded from the scanning on one side and on the other side you need to ensure you dont have conflicts between the container and application (there

Re: Camel-CXF in tomee

2017-02-24 Thread syadav
I did not understand what to do. Could you please explain me what to do. Note: I am not using spring configuration. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-CXF-in-tomee-tp5794355p5794387.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel-CXF in tomee

2017-02-24 Thread Romain Manni-Bucau
Hi I don't see the link since you don't use CDI there right? if you use camel-cdi and/or cxf-cdi you need to exclude all but these ones. Romain Manni-Bucau @rmannibucau | Blog | Old Blog

Re: Camel-CXF in tomee

2017-02-24 Thread syadav
Hi, I tried this but no use. I added the cxf jars to catalina.properties tomcat.util.scan.StandardJarScanFilter.jarsToSkip, but it is giving error as no cxfbean found. This is because in my project I am using cxfbean for routing it to webservice class. This is using JAVA DSL. -- View this mess

Re: Is it possible to set the delimiter of header and body of csv file differently?

2017-02-24 Thread Tomohisa Igarashi
Hi, You can parse the header by your own bean before marshal and then specify 'skipFirstLine' on csv dataformat. http://camel.apache.org/csv.html Thanks, Tomo On 02/24/2017 03:00 PM, Juno wrote: Is it possible to set the delimiter of the header and the delimiter of the csv file contents diff

Re: Is it possible to set the delimiter of header and body of csv file differently?

2017-02-24 Thread Claus Ibsen
Hi I would not think so. You can check the commons csv what is supports. Otherwise you can also just do a search replace on the first line to change the | to , in the header line so they use the same delimiter On Fri, Feb 24, 2017 at 7:00 AM, Juno wrote: > Is it possible to set the delimiter of

Is it possible to set the delimiter of header and body of csv file differently?

2017-02-24 Thread Juno
Is it possible to set the delimiter of the header and the delimiter of the csv file contents differently when storing it in the message queue with csv? For example, I want to set the delimiter of the header to '|' and the delimiter of the body to ','. Header1 | Header2 | Header3 | Header 4 | Head