RE: Fuse elasticsearch error

2015-06-11 Thread Vanshul . Chawla
Yes dependency is added. Actually without dependency it will not even install the bundle. There we 2 other fixes which were required ie names.txt and changing elasticsearch version in a features file which I did. Issue is its not as is supported in Fuse 6.1 so that might be an issue. In camel

Re: Fuse elasticsearch error

2015-06-11 Thread Reji Mathews
HI Vanshul Whats the camel version you are using? Jboss Fuse 6.0.0 supports only camel 2.10 and Fuse 6.1.0 supports camel 2.12. Hence knowing which camel version you are using will help us debug your issue. Also check if the maven jar has the package which it says its missing. I found that

Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-11 Thread Grzegorz Grzybek
Hello Himanshu What version of camel do you use? There was a fix for leaked connection in case of auth failures, but this looks like another issue. Could you create JIRA ticket, attaching information about your route/endpoint URI? regards Grzegorz Grzybek 2015-06-11 13:02 GMT+02:00 Himanshu

Re: Fuse elasticsearch error

2015-06-11 Thread Reji Mathews
Whats the version of camel you are using? Have you added the dependency in the POM.xml file. On Thu, Jun 11, 2015 at 9:11 AM, Vanshul.Chawla vanshul.cha...@target.com wrote: Hello, I am trying to do a simple POC on elastic search using Fuse. I have resolved errors for names.txt and snowball

Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-11 Thread Himanshu Mittal
When we remove tempFileName from uri , FTP connections are not exhausted . -- View this message in context: http://camel.465427.n5.nabble.com/Too-many-connection-in-TIME-WAIT-when-tempfilename-is-set-in-the-FTP-producer-URI-tp5768017p5768097.html Sent from the Camel - Users mailing list

Tooling for Idea and Netbeans?

2015-06-11 Thread Tim Dudgeon
At today's (really great) Red Hat Microservices Architecture Developer Day in London [1] Claus Ibsen mentioned that there is now tooling support available for IntelliJ Idea and Netbeans as well as Eclipse (presumably what used to be Fuse IDE). If so this is awesone, but I can't find any info

Re: Trace from and to endpoints

2015-06-11 Thread Tim Dudgeon
I believe Camel tracks this automatically at the exchange level (assuming you are wanting this on a per-exchange basis). e.g. when you get an exception this information is written to the logs, so its already there. Try looking at the Exchange properties. Tim On 10/06/2015 16:51, rwijngaa

Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-11 Thread Grzegorz Grzybek
Thanks I'll look at it soon regards Grzegorz 2015-06-11 14:41 GMT+02:00 Himanshu Mittal himanshu.mittal...@gmail.com: We faced this issue in *camel 2.12*. I tested the same with *camel 2.14* . Still I see connection being opened for each temp file. Created below JIRA for same CAMEL-8860

Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-11 Thread Himanshu Mittal
We faced this issue in *camel 2.12*. I tested the same with *camel 2.14* . Still I see connection being opened for each temp file. Created below JIRA for same CAMEL-8860 https://issues.apache.org/jira/browse/CAMEL-8860 -- View this message in context:

PropertiesComponent overriding in Spring

2015-06-11 Thread Vincent Vandenschrick
Hi all, I'm migrating an application from Camel 2.14 to 2.15.2. I spent some time tracking a regression until I figured out that my custom properties (PropertiesComponent) spring bean was not taken anymore out of the Spring context no matter what I declared. After some more investigation, this

ClassCastException in blueprint Route

2015-06-11 Thread John Dubchak
Hi, I have a service component, deployed as a separate bundle, that exports a package, com.example.services.configuration, and a service that implements a ConfigurationService interface in another package called LocalService: com.example.services.configruation.ConfigurationService

Having problems with CamelContext.addRoutes() and ActiveMQ

2015-06-11 Thread Ross Woolf
I am having problems getting queue data from CamelContext. I am a newbie to Camel and so I just don't see what I am doing wrong. I am using: Camel 2.15.2 ActiveMQ 5.11.1 I am using the following code to send data to the queue and it works (all of this is just test code to learn Camel). public

Re: ClassCastException in blueprint Route

2015-06-11 Thread Andrew Block
John,  Would you be able to post how the service is being declared along with the service properties to ensure the correct service is being referenced in your consumer blueprint. Thanks, Andy --  Andrew Block On June 11, 2015 at 5:28:54 PM, John Dubchak (j...@johndubchak.com) wrote: Hi, I

using basic auth to protect camel rest dsl routes

2015-06-11 Thread Dan Moore
Hi folks, After banging my head for a bit, I wrote a blog post about using basic auth to protect rest dsl routes served using jetty: http://www.mooreds.com/wordpress/archives/2065 Would love any feedback. Thanks, Dan

Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-11 Thread Himanshu Mittal
Temporary file name (Camel property : tempFileName )is creating new connection for each file transfer. -- View this message in context: http://camel.465427.n5.nabble.com/Too-many-connection-in-TIME-WAIT-when-tempfilename-is-set-in-the-FTP-producer-URI-tp5768017p5768121.html Sent from the Camel

Proper way to rollback database calls and send to error queue

2015-06-11 Thread blom
Hi, One could think having an inner transaction would be easy. My StoreDataBean makes several database calls and all needs to be inside one transaction. If one of they fail they should all be rollbacked and sent to the errorQueue. onException(Exception.class).handled(true).to(errorQueue);