Hi

You can do it in the xml file using standard spring bean style, eg:

<bean id="myMessageConverter" class="com.foo.MyMessageConverter">
  <property name="someName" value="someValue"/>
</bean>


On Sun, Apr 14, 2013 at 3:52 PM, AbhishekSamuel
<abhisheksamuelr...@gmail.com> wrote:
> Hey Claus,
>
> Thanks for the reply. Am new to this configuration with spring. How do i go
> about calling the setter method for the myMessageConverter object given the
> syntax am using below ?
>
> from("file://inbox/order").to("jms:queue:order?messageConverter=#myMessageConverter");
>
>
> Thanks
> Abhishek Samuel
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/JMS-Component-Customized-messageConverter-tp5730725p5730839.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to