RE: ParallelProcessing of a webservice

2016-05-10 Thread Siano, Stephan
Hi, This may obviously depend on your scenario. If you receive a payload by some channel that contains all your input messages (or where you can create all your input messages from) and you want to split this message and send each of the parts to the same web service in parallel the splitter EI

Camel and Guice - without JNDI and Spring

2016-05-10 Thread jkiddo
I'm a Guice fan and currently looking into using Camel and the Camel Java DSL to build me som Camel routes. Ideally, I would like to bind everything using Guice and not rely on JNDI or Spring configuration files. I'm a rookie camel rider which might explain my question/confusion - but all examples

Execution of com.jayway.jsonpath.JsonPath methods fail with a CamelExecutionException

2016-05-10 Thread catshout
Dear community, I'm trying to write some Java code and use it within a Camel route like The code looks like (simplified for testing purposes) try { String json = "{\"CONFIGURATION\": \"hello\"}"; log.info("json: " + json.toString()); String config = JsonPath.read(json,

Camel netty tcp new instance for each client connection

2016-05-10 Thread souciance
Hello, I have a scenario where in a Camel route I have a from ("netty4:tcp") which listens on a ip:port. Clients can connect to it and send string messages. The first message each client sends identifies who they are. Subsequent messages are normal payload. However the backend system needs the ide

Re: How to use cdi annotation to reference shared netty server in karaf?

2016-05-10 Thread leon
Hi Antonin, I just saw your response and tried it right away. And it worked like a charm. Thanks for your help!!! Leon -- View this message in context: http://camel.465427.n5.nabble.com/How-to-use-cdi-annotation-to-reference-shared-netty-server-in-karaf-tp5782250p5782412.html Sent from the Ca

Re: Camel netty tcp new instance for each client connection

2016-05-10 Thread Quinn Stevenson
I haven’t tried this myself, but I think you could get the Netty Channel from the exchange property CamelNettyChannel, and use and attribute on the channel to store your information. Another option may be to use a map to store some state, and use the CamelNettyRemoteAddress header as the key fo

interceptSendToEndpoint

2016-05-10 Thread Bassett, Derek
Hi, From the description on http://camel.apache.org/intercept.html page it says: "You can think of it as a AOP before that is applied at each DSL keyword you have defined in your route" Can I use interceptSendToEndpoint if I want to do both a Before and After or do I have to use something