Dead Letter Channel problem

2013-10-19 Thread javag
I am using Dead Letter Channel EIP exactly as described in Camel docs for Dead Letter Channel: ... I have just one route that has Content Based Router which essentially says if message body has getInfo then route from jms:foo to jms:getInfo, if message body has p

Re: Add new route runtime

2013-10-19 Thread Christian Müller
Please don't "hijack" posts/threads which questions which don't belong to the subject. Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer Apache Incubator PMC Member https://www.linkedin.com/pub/c

Re: Being able to post and reveice email notification to subscribed posts

2013-10-19 Thread Christian Müller
Hello Reji! This is not the case. A lot of your messages has to be moderates in the past days. I checked it again, and you are not subscribed to the Camel user list or the Camel dev list (at least with this e-mail address). Check out [1] how to subscribe to these lists. [1] http://camel.apache.or

Re: event-driven consumer

2013-10-19 Thread Christian Müller
That's true. May have a look at the SmppConsumer [1] which is using a listener [2] to receive short messages (SMS), create an exchange and send this exchange the the next processor in the chain... [1] https://git-wip-us.apache.org/repos/asf?p=camel.git;a=blob;f=components/camel-smpp/src/main/java/

event-driven consumer

2013-10-19 Thread samslara
Hi, I'm trying to implement an event-driven consumer where the event-driver is a custom library we have developed. I was looking at various documentation on the subject and I can't find any interface through which the event-driver notifies the consumer. From the following fusesource doc: http:

Migrate Apache Camel Endpoints

2013-10-19 Thread Pedro Martins
I have recently started with Apache Camel so apologies if this questions is silly. I have 2 processes A and B, and each process has an endpoint E1 and E2 respectively. Now let's imagine that I need to create a process C and that process B has to die. Can I migrate E2 to C and connect it through a

Re: Camel Restlet and HTTP 302

2013-10-19 Thread Claus Ibsen
Hi Yeah seems so this header is not sent back. Feel free to log a JIRA ticket. On Fri, Oct 18, 2013 at 6:44 PM, abhijit.kulkarni wrote: > Hello, > > I have a route in camel which uses restlet component to receive GET requests > from the client (Android App). > As part of this request, there are

Re: Netty: messages not propagated back from netty producer

2013-10-19 Thread Claus Ibsen
Can you try move the convert body after netty, eg between G and H. On Mon, Oct 14, 2013 at 4:38 PM, Claus Ibsen wrote: > Hi > > Can you try adding > > at the end of the route, to ensure the > message is loaded into memory and not stream based, so the CXF > consumer uses that as reply. > > > > On

Re: doneFileName=${file:name} in Camel 2.12.1 doesn't get replaced correctly with camel-spring-batch

2013-10-19 Thread Claus Ibsen
It helps if you can can create a small sample project or unit test that demonstrates any problem. Also try without spring batch to see if you can isolate any issue. And provides details about which platform, jdk, and Camel versions you are using etc. On Wed, Oct 16, 2013 at 2:25 AM, nguyen wrot

Re: Large objects in headers and endpoints?

2013-10-19 Thread Christian Müller
As long you do not use a component which will marshall/unmarshall or convert your payload into a different type, you don't have to worry about the performance (this is the case for seda, direct, direct-vm, vm). But if you e.g. multicast your exchange, the story is may different, depending whether

Re: error: cannot find symbol when using split() in choice()

2013-10-19 Thread Olaf
Thanks! endChoice did the trick. May be this exception message should be added to the FAQ, so it can be found by google and co. -- View this message in context: http://camel.465427.n5.nabble.com/error-cannot-find-symbol-when-using-split-in-choice-tp5741857p5741893.html Sent from the Camel - Us

Re: error: cannot find symbol when using split() in choice()

2013-10-19 Thread Claus Ibsen
See this FAQ http://camel.apache.org/why-can-i-not-use-when-or-otherwise-in-a-java-camel-route.html On Sat, Oct 19, 2013 at 10:31 AM, Olaf wrote: > Source http://pastebin.com/mrHNKF2c > > at > org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1344) > > >

Re: error: cannot find symbol when using split() in choice()

2013-10-19 Thread Olaf
Source http://pastebin.com/mrHNKF2c at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1344) at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:297) at org.springframework.context.event.SimpleA

Re: Getting rid of line separator [ BeanIO + Camel ]

2013-10-19 Thread Claus Ibsen
Hi I suggest to check the beanio documentation if you can configure the line feed to use. Maybe there is unix vs windows style you can set etc. Or a way to configure it. Looking in the source code of camel-beanio does not indicate we use a fixed line feed or anything. See the org.apache.camel.dat