Re: camel invoking rest endpoint two times

2016-04-08 Thread Narsi Nallamilli
Please help on this issue. -- View this message in context: http://camel.465427.n5.nabble.com/camel-invoking-rest-endpoint-two-times-tp5780019p5780743.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: infinispan Idempotent and RemoteCacheManager

2016-04-08 Thread Scisci
Ok, now after I have changed the file hotrod-client.propertis how you suggested it's working Thank you very much. Bye Mirko -- View this message in context: http://camel.465427.n5.nabble.com/infinispan-Idempotent-and-RemoteCacheManager-tp5780600p5780757.html Sent from the Camel - Users

Re: [Bug?] hl7dataformat hapicontext not in camel-blueprint.xsd

2016-04-08 Thread Walzer, Thomas
Hi Quinn, Thanks for helping me with the blueprint. Here is my java. My intent is to use addforcedencode, as I want empty HL7 fields produced. package net.integratix.demo; import org.apache.camel.ExchangePattern; import org.apache.camel.builder.RouteBuilder; import

Re: [Bug?] hl7dataformat hapicontext not in camel-blueprint.xsd

2016-04-08 Thread Walzer, Thomas
Claus, then the XSDs in the jars are also wrong. When I deploy to servicemix (which has camel 2.15.2 installed) I get the very same validation error (as when I validate against the online XSD). Do you know where the XSDs are in the path/jar? I did not find them. Cheers, Thomas. > Am

RE: Apache camel mime-multipart usage and examples?

2016-04-08 Thread Siano, Stephan
Hi, Have you tried PAYLOAD mode? I don't know which JBOSS FUSE version will contain Camel 2.17 (that one is pretty new). Anyway, I noticed yesterday that there is a bug in the 2.17.0 MIME-Multipart decoder that will prevent your multipart from being processed (because the attachment doesn't

Re: Understanding Pooled Connection Factory on ActiveMQ

2016-04-08 Thread Michele
Hi, sorry, but according to http://camel.apache.org/jms.html section Concurrent Consuming You can configure this option in one of the following ways: - On the JmsComponent (I believe during configuration PooledConnectionFactory), - On the endpoint URI or, - By invoking setConcurrentConsumers()

Camel 2.17.0 in Karaf 4.0.4 - installing features extremly slow

2016-04-08 Thread Thomas Weinschenk
Hi everyone, I tried to upgrade from Camel 2.16.2 to 2.17.0 but I am facing the problem that installing some features (like camel-jms) in Karaf (4.0.4) tooks ages or even fails. If I switch back to 2.16.2 everything is back to normal. Any idea? Regards, Thomas -- View this message in

Re: infinispan Idempotent and RemoteCacheManager

2016-04-08 Thread Luca Burgazzoli
Got it: by default the RemoteChacheManager does not return values, you should change your hotrod-client.properties to force it: infinispan.client.hotrod.force_return_values = true Or changing it programmatically, have a look at this gist:

Re: Apache camel mime-multipart usage and examples?

2016-04-08 Thread ekta.v.wadhwani
Stephan, I am using JBOSS FUSE version 8.1.0.GA which supports maximum camel core version : 2.15.0. So i would not be able to use 2.17.0. To your point on CXF-endpoint, yes i am using CXF endpoint to invoke a webservice which provides SOAP response with attachments. However using Spring

Re: Beanio stream...

2016-04-08 Thread Claus Ibsen
Hi I logged a ticket https://issues.apache.org/jira/browse/CAMEL-9843 And did a quick first implementation, a few things to irony out https://github.com/apache/camel/commit/18f3e27d847abe2fc39cc66cc4edd230cbecfc83 But it shows how you can setup it in a splitter with streaming mode. On Fri,

Re: Understanding Pooled Connection Factory on ActiveMQ

2016-04-08 Thread Quinn Stevenson
Here's the screenshot - missed it the first time -- View this message in context: http://camel.465427.n5.nabble.com/Understanding-Pooled-Connection-Factory-on-ActiveMQ-tp5780689p5780784.html Sent from the Camel - Users

Re: camel-2.16.2 spring and java DSL register

2016-04-08 Thread kumar5
thanks i am using camel-hystrix 2.18.0 code which is not release at but i requirement to use it. i was using as given in test case but i am getting error :Caused by: java.lang.IllegalStateException: Another strategy was already registered. @Bean RouteBuilder createRouteBuilder()

Email not copied to sent items

2016-04-08 Thread NewCamelDev
Hi All, I am facing a weird issue with camel email component when sending an email via exchange server. The email I have sent using a mail is not seen in sent items. I see these emails in sent items when I use the Gmail server to send an email. I have read an article that we may need to manually

Re: Understanding Pooled Connection Factory on ActiveMQ

2016-04-08 Thread Quinn Stevenson
Sorry Michele - I missed the configuration in the jmsConfig bean. Also, I should've looked at the screenshot you posted - it shows the 10 consumers, with only one consuming. I ran you're JMS config with a simple consuming route, but I'm seeing all of the consumers working - I don't get any

Re: Beanio stream...

2016-04-08 Thread Brad Johnson
Fantastic. Thank you very much. Brad On Fri, Apr 8, 2016 at 11:06 AM, Claus Ibsen wrote: > Hi > > I logged a ticket > https://issues.apache.org/jira/browse/CAMEL-9843 > > And did a quick first implementation, a few things to irony out > >

camel-2.16.2 spring and java DSL register

2016-04-08 Thread kumar5
i am using camel-2.16.2 , spring boot and java DSL. As document says if spring then use ApplicationContextRegistry but ApplicationContextRegistry doesn't have any method to added registry. i want to register bean in Java DSL. please any one help me on this. @Bean RouteBuilder

Re: camel-2.16.2 spring and java DSL register

2016-04-08 Thread Claus Ibsen
Register the bean using the spring-boot way using @Bean or @Component etc On Fri, Apr 8, 2016 at 4:42 PM, kumar5 wrote: > i am using camel-2.16.2 , spring boot and java DSL. As document says if > spring then use ApplicationContextRegistry but

Accessing the HTTP Response Code with netty4

2016-04-08 Thread Alex Soto
Hello: I am using Camel 2.16.2 and I have a route with a Netty4 HTTP producer calling a remote HTTP server. I am passing the option throwExceptionOnFailure=false. Upon return, I need to check the HTTP response code like this: ${header.CamelHttpResponseCode} == 403

RE: Accessing the HTTP Response Code with netty4

2016-04-08 Thread Vanshul . Chawla
We use this java.lang.Exception ${exception.message} contains '404' or ${exception.message} contains '405' or ${exception.message} contains '500' or ${exception.message} contains '401' or

Re: [Bug?] hl7dataformat hapicontext not in camel-blueprint.xsd

2016-04-08 Thread Quinn Stevenson
Something like this should work You probably noticed I cheated a little - I didn’t want to work through all the Blueprint stuff to initialize the HapiContext so I created a factory to do it for me :-) import ca.uhn.hl7v2.DefaultHapiContext;

Re: Email not copied to sent items

2016-04-08 Thread Walzer, Thomas
This is not an issue with Camel and I doubt there is an option or that there will ever be one. You are using the smtp component which is essentially bypassing your mailbox. You do *not* use your mailbox. You maybe using your mailbox´s credentials. In Gmail this is all integrated. How about

Re: camel-2.16.2 spring and java DSL register

2016-04-08 Thread kumar5
i am using camel 2.16.2 and java dsl , spring boot. i am using camel-hystrix 2.18.0 code which is not release at but i requirement to use hystrix. endpoint is register using SimpleRegistry so, hystrix can get as below link code but spring boot will get ApplicationContextRegistry. Please let me

Re: camel-2.16.2 spring and java DSL register

2016-04-08 Thread kumar5
i got resolved "Another strategy was already registered". but i dont know how to register enpoints in camel registry so hystrix can call. Please any one help me how to registry endpoint in java dsl spring boot. -- View this message in context:

Re: SSLException SSLEngine is closing/close using Netty 3.9 and Camel 2.12

2016-04-08 Thread pwillemann
I solved this problem with a couple of fixes. I migrated to Netty 3.9.3 Final which eliminates the error the SSLEngine is closing/close exception. After that I had to fix my certificate issue. I followed the instructions from

Camel consuming from multiple queues but with different options

2016-04-08 Thread rbkumar88
Hi, I am trying to consume from two queues with different options. But getting the following error int with value 3,queue2?concurrentConsumers=8 due java.lang.NumberFormatException: For input string: "3,queue2?concurrentConsumers=8" Please help me in resolving this issue. P.S.

Re: Camel consuming from multiple queues but with different options

2016-04-08 Thread Quinn Stevenson
I don’t think you can put two destinations in the same “from” URI - you’ll need two from URIs. > On Apr 8, 2016, at 12:35 PM, rbkumar88 wrote: > > Hi, > > I am trying to consume from two queues with different options. > > > > But getting the following error > > int

Re: infinispan Idempotent and RemoteCacheManager

2016-04-08 Thread Scisci
Sorry, was a typo. On the new route obviously I've removed the attribute skipDuplicate... But idempotent continues doesn't working help me please Thanks Mirko -- View this message in context:

Re: Camel consuming from multiple queues but with different options

2016-04-08 Thread Matt Pavlovich
ActiveMQ does support multiple queues using commas, but the Camel component won't let you configure them individually. As Quinn mentioned, you'll need to use multiple from's, or multiple routes that share a sub-routine route. -Matt On 4/8/16 1:53 PM, Quinn Stevenson wrote: I don’t think

Re: Camel consuming from multiple queues but with different options

2016-04-08 Thread Quinn Stevenson
Thank you Matt - I’ve used multiple queues before, but only from producers (i.e. client-side composite destinations) - I didn’t know you could do the same thing for consumers. > On Apr 8, 2016, at 1:31 PM, Matt Pavlovich wrote: > > ActiveMQ does support multiple queues