Camel SSH no password

2015-12-29 Thread Karts
It is possible to set up command line ssh to not require a password or file. I can currently do this with: uname1@server1:~$ ssh -q uname2@server2 But I can't get this to work with Camel (being run as uname1 on server1). If I do: .to("ssh://uname2@server2") I get a java.lang.NullPointerExcepti

Re: Camel CXF - Security (Authentication)

2015-12-29 Thread Mary Cochran
If you are looking for an example of the CXF with Basic Auth this is one myself and a co-worker put together: https://github.com/rhtconsulting/fuse-quickstarts/tree/jboss-fuse-6.2.1/karaf/soap_secure Mary Cochran Red Hat Consulting Email: mcoch...@redhat.com | c: 419-543-0531 | http://www.redhat

Re: suppress error from Camel Route on slave

2015-12-29 Thread Mary Cochran
You can always use an Exception Handler to catch the exception. Then just set handled to true. The only issue here is that it would catch other IOExceptions as well. You could do something similar to this to avoid catching all of those exceptions: onException(IOException.class) choice()

http, authentication by 'GET' method

2015-12-29 Thread kalber
Hi, i want to pass this piece of code to http4 component : HttpGet get = new HttpGet(URL + "?" + URLEncodedUtils.format(queryParams, "UTF-8")); UsernamePasswordCr

Deploying Camel in WebLogic(Cluser)

2015-12-29 Thread madhava pulakanti
Dears All, Can anybody help to provide the steps to deploy camel in Web logic (preferably on Clustered Environment). Thanks Mahdava

Re: MainListenerSupport afterStop is never called (spring.Main)

2015-12-29 Thread rno
thanks for the fast response :) -- View this message in context: http://camel.465427.n5.nabble.com/MainListenerSupport-afterStop-is-never-called-spring-Main-tp5775458p5775566.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: Clusturing Camel

2015-12-29 Thread madhava pulakanti
Thanks for the reply. Our architecture is little deferent as below. Legacy Requests > Apache Rewrite\Reroute Proxy[Route 10g URL to 11g URL] > Load Balancer > Oracle HTTP > Oracle SOA Legacy Response < Apache Rewrite\Reroute Proxy < Load Balancer < Oracle HTTP < Oracle SOA Initially it was l

Re: using Camel-JMS for HornetQ (Wildfly 9)

2015-12-29 Thread Claus Ibsen
Camel users dont program with the jms api, but just use the camel-jms component. And as such it does not matter so much if its jms 1.1 or 2.0. Is there any particular jms 2.0 functionality that you find not able to do with camel-jms ? Otherwise any jms broker should support jms 1.1 just fine.

Re: MainListenerSupport afterStop is never called (spring.Main)

2015-12-29 Thread Claus Ibsen
I logged a ticket to improve this https://issues.apache.org/jira/browse/CAMEL-9457 On Tue, Dec 29, 2015 at 9:31 AM, Claus Ibsen wrote: > This is expected, a jmx stop is only stopping camel, not the jvm. > > On Tue, Dec 29, 2015 at 9:25 AM, rno wrote: >> The camel version is as follows: 2.16.1 >>

Re: MainListenerSupport afterStop is never called (spring.Main)

2015-12-29 Thread Claus Ibsen
This is expected, a jmx stop is only stopping camel, not the jvm. On Tue, Dec 29, 2015 at 9:25 AM, rno wrote: > The camel version is as follows: 2.16.1 > > Shutdown log after JMX "camel"/stop > 2015-12-29 09:23:11,727 [Thread-5 ] INFO > DefaultShutdownStrategy-

Re: MainListenerSupport afterStop is never called (spring.Main)

2015-12-29 Thread rno
The camel version is as follows: 2.16.1 Shutdown log after JMX "camel"/stop 2015-12-29 09:23:11,727 [Thread-5 ] INFO DefaultShutdownStrategy--- Graceful shutdown of 5 routes com pleted in 0 seconds 2015-12-29 09:23:11,739 [Thread-5 ]

Re: using Camel-JMS for HornetQ (Wildfly 9)

2015-12-29 Thread yogu13
okay any ideas how it can be achieved? -- View this message in context: http://camel.465427.n5.nabble.com/using-Camel-JMS-for-HornetQ-Wildfly-9-tp5775529p5775557.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Clusturing Camel

2015-12-29 Thread yogu13
Add a load balancer to forward the request to apache camel on jetty. you can even use Apache HTTPD with the load balancer module in it for the same. -- View this message in context: http://camel.465427.n5.nabble.com/Clusturing-Camel-tp5775550p5775558.html Sent from the Camel - Users mailing lis

Re: jms ibm mq ssl connection from client

2015-12-29 Thread yogu13
Are your certs ip based ? if yes then that could be the problem Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/jms-ibm-mq-ssl-connection-from-client-tp5775406p5775560.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: MainListenerSupport afterStop is never called (spring.Main)

2015-12-29 Thread yogu13
Hello, Please let us know the camel version, code (if any) and logs etc Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/MainListenerSupport-afterStop-is-never-called-spring-Main-tp5775458p5775559.html Sent from the Camel - Users mailing list archive at Nabb