Re: Integrate Remote EJB 's using Camel

2014-10-07 Thread Arthanarisamy Annamalai
As far as i know there no specific example or documentation about invoking EJB through Camel. But in our application we invoke remote EJB's using Apache Camel only and integration is easy with it. -- View this message in context:

Re: Handling error per endpoint

2014-10-07 Thread Charles Moulliard
Hi Aryan, The onException() is an interceptor which is called before and after leaving one of the processors defined in a Apache Camel route. So, basically, it can't be used to intercept exceptions throwed by a specific processor/endpoint. Nevertheless, you could imagine to set a specific Header

Re: Integrate Remote EJB 's using Camel

2014-10-07 Thread Arthanarisamy Annamalai
Yes Camel-EJB itself. :) -- View this message in context: http://camel.465427.n5.nabble.com/Integrate-Remote-EJB-s-using-Camel-tp5757372p5757379.html Sent from the Camel - Users mailing list archive at Nabble.com.

Can exception clause works with rest dsl in camel 2.14.0?

2014-10-07 Thread leon
Hi all, I am using camel 2.14.0 and the new rest dsl feature. It seems exception clause is not working with rest dsl. Am I doing anything wrong? Here are my classes: public MyRouteBuilder extends RouteBuilder { public void configure() throws Exception {

Re: Babel: new DSL for Camel

2014-10-07 Thread Christophe Pache
Just a little up to this thread to announce that an experimental java 8 DSL has been release. It's tends to provides the same features as the Babel Scala DSL within Java 8, taking advantages of lambdas. Sources are available at https://github.com/Crossing-Tech/babel-experimental If you have any

Application naivity about endpoints

2014-10-07 Thread James Green
I want my application to connect to ActiveMQ today, and possibly RabbitMQ tomorrow. Therefore I do not want anything in code to mention either - it should just be a matter of altering a .properties file and restarting, right? However we're having trouble working out how to do this without

Re: Application naivity about endpoints

2014-10-07 Thread Christian Schneider
If you are deploying to a web container then you should refer to the ConnectionFactory using JNDI. If you are using OSGi you can use an OSGi service. This way you avoid making your route bundle depend on the jms provider. Christian On 07.10.2014 13:18, James Green wrote: I want my

Re: Babel: new DSL for Camel

2014-10-07 Thread Christian Schneider
Looking forward to the Java 8 DSL. While Scala might even have better features for creating DSLs I fear that most Java developers will not make the jump to scala. Christian On 07.10.2014 12:40, Christophe Pache wrote: Just a little up to this thread to announce that an experimental java 8 DSL

Re: Application naivity about endpoints

2014-10-07 Thread James Green
This is a standalone Spring app with Java configuration. On 7 October 2014 12:21, Christian Schneider ch...@die-schneider.net wrote: If you are deploying to a web container then you should refer to the ConnectionFactory using JNDI. If you are using OSGi you can use an OSGi service. This way

Re: Application naivity about endpoints

2014-10-07 Thread Christian Schneider
For a standalone application there is no standard way to make your code independent of the jms provider. You will have to provide the provider client jars at some point. Of course you can externalize the class name in some way but you are on your own in how to do it. Christian On 07.10.2014

Camel - JAAS / Fuse

2014-10-07 Thread contactreji
Hi Is there an updation on the classes given @ following block of code is valid anymore * bean id=loginService class=org.eclipse.jetty.plus.jaas.JAASLoginService property name=name value=karaf/ property name=loginModuleName value=karaf/ property name=roleClassNames

Basic Authentication - Camel Jetty

2014-10-07 Thread contactreji
Hi Can someone help me with a way to implementing Basic Authentication to camel jetty consumer? I am trying to avoid JAAS here. What are the other alternatives? Does inInterceptors work for jetty? is that a good way of doing things? Would be helpful if someone can share the piece of code.

TCP bi-directional comm

2014-10-07 Thread Carl Nygard
Hello, I have an issue that I'm trying to solve in Camel, and I need some ideas on how to structure the routes and connectors to get things to happen. We are connecting to a button/light device to send commands to light the light, while at the same time receiving messages that indicate the

How to use an object that is inside the object sent on body to do splitting

2014-10-07 Thread dbremmen
Dear Camel Experts, First of all thanks a lot, this framework is great. Maybe this is a very dumb question but It will help to clarify my understanding of camel. I have a seda queue where I insert objects of type FromData. FromData has a method public GenericFileFile getFirstFile () {

Camel Spring HTTP Consumer using remote Rest web service

2014-10-07 Thread camelcoder07
Hi, I need some help setting up my camel configuration to consume data from a remote rest web service using camel. This remote service is https and uses api-key for authentication. I also need to POST to this web service with a query as well to get data returned. I need help with how to pass