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)
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:
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
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
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}