how can i send message to cxf component with producerTemplate?

2012-08-28 Thread cmland
my route config: http://camel.apache.org/schema/spring"; > my cxf config: when the route work in a web container, i want to send message to uri (cxf:be

the stmp url error

2012-07-18 Thread cmland
my route config like this : http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:camel="http://camel.apache.org/schema/spring"; xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframewor

Multiple camelContext elements in camel 2.6.0

2012-02-27 Thread cmland
There are many spring context xml files in my project ,and i want to use "camel:ContextScan" and "camel:include" to include all the CamelContext into one CamelContext and then i can use one "onException" to process the error message. but it was not work. what i can do for it . thanks. eg:

onException problem

2012-02-22 Thread cmland
I use the globel OnException to catch exception , and before deliver to the DLQ,I use a process.my problem is that : when the process occur a exception, the route roll back.the message route ,and roll back again... It has been circulating. cxf version 2.6.0, my xml configuration like this:

How did camel put the originalMessage to DLQ?

2012-02-22 Thread cmland
If necessary, we can put originalMessage to DLQ. I want to know how camel get the originalMessage and deliver to DLQ? I search for the camel API but find nothing. Any help is highly appreciated. -- View this message in context: http://camel.465427.n5.nabble.com/How-did-camel-put-the-origina

Re: I want to put extra info as jms head property when the message deliver to the deadletter queue

2012-02-21 Thread cmland
ml-node+s465427n5504248...@n5.nabble.com> > Use another route as your dead letter channel, and then in that route, > you can add details to the message, and then send it to the actual > DLQ. > > deadLetterUri="direct:myDLQ" > > > > > > ... >