Re: PEM File for Authentication in route

2015-09-08 Thread anish.somadevan
I tried having the SSLContextParameters tag outside the routes tag, but it resulted in error. Seems like routes tag should be the first node in XML. Also, i had checked the blueprint schema and found that SSLContextParameters bean is referred in this schema, but not in spring schema

ActiveMQ & Camel and Karaf compatibility

2015-09-08 Thread Matteo Redaelli
Hello I found the compatibility page between Karaf & Camel and a page about ActiveMQ and Karaf but where can I find a page with the compatibility among camel and activemq and karaf? If I added a repository for activemq (with feature:repo-add), I would find the feature activemq-camel but the

Re: PEM File for Authentication in route

2015-09-08 Thread Raul Kripalani
Please create a Github repo or Gist with your code so we can assist you better. Thanks, *Raúl Kripalani* Apache Camel PMC Member & Committer | Enterprise Architect, Open Source Integration specialist http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani http://blog.raulkr.net

Multiple consumers of a same directory

2015-09-08 Thread Mohd Anas
Hi, I have a setup where multiple consumers in fabric cluster (file component) are consuming files from a same directory. I always get file not found exception in logs as all the consumers try to process the files, but only one succeeds. Please suggest a possible way to resolve this. Thanks.

Re: Camel and Karaf compatibility

2015-09-08 Thread Claus Ibsen
Hi Usually it means the minimum version. You can use Camel 2.15 on Karaf 3.0.x and 4.0.x as well. Though use the latest releases of Karaf as I think there was a problem with one of the .0 release of those. On Tue, Sep 8, 2015 at 9:59 AM, michael.esmann wrote: >

Re: Timer,Quartz,Spring based scheduler question

2015-09-08 Thread yogu13
check Stateful Job if Quartz version < 2 if Quartz version is > 2 check the annotation "@DisallowConcurrentExecution" Regards, -Yogesh -- View this message in context:

Re: PEM File for Authentication in route

2015-09-08 Thread yogu13
Hello Anish, When you tried the SSLContextParameters tag outside the routes tag what was the error ? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/PEM-File-for-Authentication-in-route-tp5771084p5771322.html Sent from the Camel - Users mailing list

Camel and Karaf compatibility

2015-09-08 Thread michael.esmann
Hi, On http://camel.apache.org/karaf there is a list of Camel and Karaf versions that are compatible. On this list it says that Camel 2.15 is compatible with Karaf 2.4. Does this mean that I can not expect Camel 2.15 to work correctly with Karaf 3.0? Are there any known problems with running

JMSReplyTo header

2015-09-08 Thread Vanshul . Chawla
Hello, I am receiving a JMSReplyTo header from consumer in our route but they don't need our response back. Can we somehow suppress the response? I tried this but didn't worked. null Its sets the JMSReplyTo header as null but stills sends reply to the queue set in ReplytoQueue.

Re: JMSReplyTo header

2015-09-08 Thread Claus Ibsen
You can set the option disableReplyTo=true On Tue, Sep 8, 2015 at 11:43 AM, Vanshul.Chawla wrote: > Hello, > > I am receiving a JMSReplyTo header from consumer in our route but they don't > need our response back. Can we somehow suppress the response? > > I tried this

RE: JMSReplyTo header

2015-09-08 Thread Vanshul . Chawla
Figured out a way ?disableReplyTo=true -Original Message- From: Vanshul.Chawla [mailto:vanshul.cha...@target.com] Sent: Tuesday, September 08, 2015 3:13 PM To: users@camel.apache.org Subject: JMSReplyTo header Hello, I am receiving a JMSReplyTo header from consumer in our route but

RE: JMSReplyTo header

2015-09-08 Thread Vanshul . Chawla
Thanks Claus. Just implemented same and tested. :) -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Tuesday, September 08, 2015 3:22 PM To: users@camel.apache.org Subject: Re: JMSReplyTo header You can set the option disableReplyTo=true On Tue, Sep 8, 2015 at

ZipAggregationStrategy doesn't use Header for polled file exchange

2015-09-08 Thread Jonathan Schoreels
Hi, Just reporting this little "inconsistence" I've spot. Version used to test : 2.15.3 of camel, 1.7 Java. Take this example : http://pastebin.com/0HrSt0iv The Route 1 set the header CamelFileName to Transformed.txt, and the Route 2 to Transformed2.txt. The both are sent to a

Can't configure delayPattern with property placeholders

2015-09-08 Thread Gregor Zurowski
Hi everyone: I am trying to configure "delayPattern" in an onException clause as follows: .onException(Exception.class) .delayPattern("{{redelivery.delayPattern}}") The "redelivery.delayPattern" property is configured in Blueprint like this: When an exception is handled, redelivery fails

SSLcontextparameters in http4 component

2015-09-08 Thread Suganya
Hi, I am trying to invoke an endpoint url with sslContextParameters applied to it. I am using camel-http4-2.11.3jar. Below is the code snippet, GET Basic YWRtaW46dGVzdHBhc3M= https://something.com/some http://camel.apache.org/schema/spring;> but getting

Re: CamelCamel 2.15.2: ExchangeException - Cannot write response

2015-09-08 Thread SteveR
I've seen several stackoverflow posts about *java.net.SocketException: Invalid argument* being related to and/or fixed by executing the JVM with the *-Djava.net.preferIPv4Stack=true* option. I'm currently testing with this to see if it helps. I wonder if this is a known issue that would be fixed

Exception while pushing Avro messages into Kafka

2015-09-08 Thread Praveen . A
Hello Experts, We are trying to push Avro formatted message into Kafka through Camel and caught with below exception so couldn't succeeded further. I have attached the complete source code along with pom.xml file for version details. Please let us know the best way of pushing Avro messages

CamelCamel 2.15.2: ExchangeException - Cannot write response

2015-09-08 Thread SteveR
Hi: I have a Camel route that consumes from *netty:udp*, optionally sends a UDP response back to client (if requested), and produces to a Kafka topic. I'm getting the following exception which is causing netty to stop listening on the configured UDP port. Any thoughts greatly appreciated!!!

No routing at all

2015-09-08 Thread KleineKiwi
Hello i have following problem, i try to route a xml with 2 xpathes like following from("file://mnt/test?noop=true").choice() .when().xpath("/Artikel[Artikelnumber=12345]").to("file://src?fileName=kunde3.xml")

Re: Multiple consumers of a same directory

2015-09-08 Thread Jonathan Schoreels
Instead of having multiple consumers for one file, why not just use the Load Balancer Pattern of Camel ? http://camel.apache.org/load-balancer.html -- View this message in context: http://camel.465427.n5.nabble.com/Multiple-consumers-of-a-same-directory-tp5771323p5771358.html Sent from the

Re: PEM File for Authentication in route

2015-09-08 Thread anish.somadevan
Am trying to declare a bean and call its method. I have added this in my route now, I get the following error, Exhausted after delivery attempt: 1 caught: org.apache.camel.InvalidPayloadException: No body available of type: java.io.InputStream but has value:

Trigger a event to a queue when File component starts processing files

2015-09-08 Thread Felix Thomas
hello, I am try to send a message to a queue when the file componenet starts processing any file. But I since I am using XML DSL not sure how to configure it. I am setting the Body with a different value just for the message. This is causing the processing to not go forward. Since I

Re: Exception while pushing Avro messages into Kafka

2015-09-08 Thread Andrew Block
Praveen, The archive containing the source code did not come through so it is a bit difficult to trace from the POM file alone. One area I noticed from the POM is the majority of the Camel libraries are using version 2.10.1 while the Kafka component is at version 2.15.1. Is there a reason for

Re: PEM File for Authentication in route

2015-09-08 Thread anish.somadevan
When i have SSLContext parameters before the routes tag,I get the below mentioned error, exception: unexpected element (uri:"http://camel.apache.org/schema/spring;, local:"sslContextParameters"). Expected elements are

Specifying Netty remote host at runtime

2015-09-08 Thread John Smith
Hello, I'd like to "ping" a server on port 22 but I only have the server's IP at run time Is there a way to override the remote host address? e.g. something like there is in the http4 component with the Exchange.HTTP_URI header I tried the below but it doesn't seem to override the addres set in