>> As for the JSON I have defined it in the data formats as followed
Remove it from dataformats and define the following bean
<bean id="ccisJSON" class="
org.apache.camel.component.jackson.JaksonDataFormat">
<constructor-arg type="com.fasterxml.jackson.databind.ObjectMapper"
ref="..." />
<constructor-arg type="java.lang.Class" value="Message" />
</bean>
Then refer it as usual.
Best Regards,
Sergey
-----Original Message-----
From: salemi [mailto:[email protected]]
Sent: Tuesday, August 06, 2013 1:21 PM
To: [email protected]
Subject: RE: Camel Performance
As for the JSON I have defined it in the data formats as followed. How can
configure it to use always the same objectmapper. I am not sure how the
JaksonDataFormat plays into this.
<dataformats>
<json unmarshalTypeName="Message" library="Jackson" prettyPrint="true"
id="ccisJSON"/>
</dataformats>
I will try the client_acknwoledge and post the results.
I will take look at the individual routes and Clause has a point here. The body
is a Message Class with an attribute messagetype which is string. Maybe that
part is slow. I will into that as well.
-----
Alireza Salemi
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Performance-tp5736810p5736821.html
Sent from the Camel - Users mailing list archive at Nabble.com.
_______________________________________________________
CONFIDENTIALITY NOTICE: This email and any files attached to it may be
confidential. If you are not the intended recipient you are notified that
using, copying, distributing or taking any action in reliance on the contents
of this information is strictly prohibited. If you have received this email in
error please notify the sender and delete this email.