camel rabbitmq request-reply

2014-01-11 Thread axl.rose
Is there any example for implementing a request-reply using camel and rabbitmq. For example something like this patternExternal Service --> message_queue(rabbitmq) --> camel -> message_queue(different rabbitmq)--> External service listener listens and puts the response back on the queue. -- Vie

netty + dataformat + exchange headers guidance needed

2014-01-11 Thread Joan Picanyol i Puig
Hi, We are integrating with a server which speaks an ASCII (but not line) based request-reply protocol over TCP sockets. Basic communication with a custom dataformat & netty looks OK and we'd like now to use a unique counter which is sent over the wire for all requests to verify received replies.

Re: Can I write a route that reads an arbitrary database table and stores it in a file?

2014-01-11 Thread Henryk Konsek
If your test is a junit test with local Camel context, then you can add data source with given DB coordinates to test registry as a part of the fixtures setup. Check out createRegistry method of CamelTestSupport class. On Jan 7, 2014 8:22 PM, "Lothar Werzinger" wrote: > Sorry for my late reply. I

Re: camel-cxf problem exception

2014-01-11 Thread Sanjay Bhattacharya
You can do this: MessageContentsList msgContentList = exchange.getOut().getBody(MessageContentsList.class); msgContentList.add(fileList); Thanks, Sanjay On Sat, Jan 11, 2014 at 1:02 AM, nono wrote: > Dear all,I encounter a camel-cxf 's cxf:bean problemit seems , it works > with > return type

RE: looking for a way to run javascript in camel and set message headers

2014-01-11 Thread Ronny Aerts
Hello camel community, I found my soluation in the language component (http://camel.apache.org/language.html) after doing some more research. My routes is now: dit is een test bericht van Ronny Aerts And the javascript content is: var conte

Customizing DestinationResolver for JmsComponent got $proxy40 as session

2014-01-11 Thread yxzhao
Hi all, We're trying to customize DestinationResolver as below as camel JmsComponent doc page suggested, but could not cast the session parameter to MQQueueSession. The print line displays the class of the session passed in is of class $proxy40. Does anyone out there have a clue on what we do wro

camel-cxf problem exception

2014-01-11 Thread nono
Dear all,I encounter a camel-cxf 's cxf:bean problemit seems , it works with return type as pojo but failed with ListI got example at karaf like Below. Could anyone give some hints?Thanks in advance!WARNING: Interceptor for {http://ws.foo.com/}FileServiceService#{http://ws.fuse.emerald.dbis.com/}g