Sending data many times on the same session to Camel-Netty Server

2013-06-29 Thread sridharpatra
Hi, I have the requirement like i need to send some data to camel netty server then wait for the response. After getting the response send some data but all should happen in the same session. I am doing like below. .to(netty:tcp://127.0.0.1:2002?textline=truesynchronous=true)

Re: camel-smpp in trx mode

2013-06-29 Thread sash_...@yahoo.com
In that case the endpoint will hold the session. What I am not sure is what type of listener does one register with the Producer ? The listener does require the processor . - ~Sandeep -- View this message in context:

MongoDB component found but TypeConverter is NoClassDefFoundError

2013-06-29 Thread PMulido
I have a weird issue happening with the mongodb component. I have an XML Camel route that has a to endpoint configured as a mongodb insert. convertBodyTo type=java.lang.String/ to uri=mongodb:MongoConn?database=xyzdbamp;collection=xyzcollamp;operation=insertamp;createCollection=true / When

Re: MongoDB component found but TypeConverter is NoClassDefFoundError

2013-06-29 Thread Christian Müller
Which version of Camel do you use? Best, Christian Sent from a mobile device Am 29.06.2013 08:26 schrieb PMulido marc.pul...@barcap.com: I have a weird issue happening with the mongodb component. I have an XML Camel route that has a to endpoint configured as a mongodb insert. convertBodyTo

Re: Camel CXFRS endpoint unable to produce JSON

2013-06-29 Thread Christian Müller
You have to tell CXF to use JSON. We do this with the following configuration: util:map id=jsonNamespaceMap map-class=java.util.Hashtable entry key=http://www.myCompany.com/product/service/model/1; value=m/ /util:map jaxrs:server id=jaxrsServer address=${jaxrsServerEndpointUri}