NoClassDefFound error when using SQL component

2015-07-29 Thread Raghavan83
I am getting an exception when executing insert query using SQL component. The output of unmarshal is Java.util.Arrays$ArrayList which I'm passing to SQL. This works fine in my local workspace. But in another environment it fails. After enabling trace, I noticed noClassDefFound error. How do I

JMX statistics problem with onException()

2015-07-29 Thread Bharath
Hi, I am trying to use one processor in OnException as below onException(ValidationException.class) .handled(true) .process(filesFailedStatistics); from(FILE_COMPONENT + inputDirectory + getOptions()) .routeId(routeId)

Re: Possible bug in JGroupsFilters.dropNonCoordinatorViews?

2015-07-29 Thread Henryk Konsek
Hi Ed, Oh, you are thinking about the case when only network is down, not the whole node. That would definitely make sense. Do you plan to work on such feature? Pull request with such functionality will be highly appreciated :) . Cheers! wt., 28.07.2015 o 16:52 użytkownik Ed Welch

Re: setting body property on the exchange failing unless log() message happens beforehand

2015-07-29 Thread Claus Ibsen
Hi Maybe its related to this FAQ: http://camel.apache.org/why-is-my-message-body-empty.html On Tue, Jul 28, 2015 at 8:44 PM, Dan Moore dmo...@katasi.com wrote: Hi folks, I have an object coming in to the exchange from a direct route. from(direct:test2) //.log(plain

Re: unbind bug of Apache Camel SMPP

2015-07-29 Thread Claus Ibsen
Hi Maybe you can provide a patch / diff with the code change you propose. Then its easier for us to follow what you mean? On Tue, Jul 28, 2015 at 2:00 PM, imranrazakhan imranrazak...@gmail.com wrote: Hi, Please find below details of unbind bug of SMPP Suppose SMSC allowed one connection to

Re: Thread pools within a threaded consumer

2015-07-29 Thread Tom Duncalf
Hi Claus, Thanks for your input. We ended up going with a multiple route solution, along the lines of the following: from(saws-sqs://whatever) .routeId(sqsRoute) // this bean assigns a random integer between 0 and threads, to distribute the messages // among the routes - a dynamic list of

Re: unbind bug of Apache Camel SMPP

2015-07-29 Thread Claus Ibsen
Hi Yes this seems more correct. You are welcome to log a JIRA and/or provide a fix as a patch / diff / github PR http://camel.apache.org/support On Wed, Jul 29, 2015 at 1:06 PM, imranrazakhan imranrazak...@gmail.com wrote: Hi, If we change closeSession() like below current: private void

Re: unbind bug of Apache Camel SMPP

2015-07-29 Thread imranrazakhan
Hi, If we change closeSession() like below current: private void closeSession() { if (session != null) { session.removeSessionStateListener(this.internalSessionStateListener); try { Thread.sleep(1000);

How to name an EventNotifier so it shows up in JConsole ...

2015-07-29 Thread SteveR
I'm using Camel 2.14 and I have an AuditEventNotifier to notify about slow exchanges: // -- // Add the custom AuditEventNotifier to the CamelContext // See

Re: How to name an EventNotifier so it shows up in JConsole ...

2015-07-29 Thread Claus Ibsen
Implement StaticService and then it uses the class name as the mbean name, eg AuditEventNotifier On Thu, Jul 30, 2015 at 3:47 AM, SteveR srichard...@vonage.com wrote: I'm using Camel 2.14 and I have an AuditEventNotifier to notify about slow exchanges: //