camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Taariq Levack <taar...@gmail.com>
Subject Re: Query on content enricher in camel
Date Mon, 28 Nov 2011 10:18:49 GMT
BTW, there are other ways to route a different message to a different
queue, I'm sure you'll get the hang of it, else ask when you get stuck.

On Mon, Nov 28, 2011 at 12:11 PM, Taariq Levack <taariql@gmail.com> wrote:

> I don't see why not, just don't tell the processor that it's a content
> enricher or it might have an identity crisis :)
>
> from("direct:a").process(new Processor() {
> public void process(Exchange exchange) {
>     Message in = exchange.getIn(); in.setBody("Hello World, I have a hot
> new body!"); }
>  }).to("direct:b");
>
> Taariq
>
>
>
> On Mon, Nov 28, 2011 at 8:58 AM, Gnanaguru S <
> gnanaguru.sattanathan@wipro.com> wrote:
>
>>
>> Hi
>>
>> I just saw the content enricher documentation in camel. I want to whether
>> my
>> scenario can be achieved here.
>>
>> 1. From endpoint A i am getting some message to a queue, I want to replace
>> the whole message using this content enricher and send it to another
>> endpoint.
>>
>>
>> Regards
>> Guru
>>
>> --
>> View this message in context:
>> http://camel.465427.n5.nabble.com/Query-on-content-enricher-in-camel-tp5027954p5027954.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message