Hi, Im having troubles in order to realize how can SI let me get an Object from a JMS queue and then transform it to XML, then apply some transformation using xslt, then back to a new object with different type.

I already did the JMS interaction but cant realize which component can let me do this kind of chain transformations. I dont know how to use marshalling-transformer, xslt-transformer and unmarshalling-transformer,My main configuration ffollows:

<code>
<message-bus/>
<annotation-driven/>
<channel id="main"/>
<channel id="inicializarObra"/>
<channel id="crearProveedor"/>

<bean id="jndiTemplate" class="org.springframework.jndi.JndiTemplate">
<property name="environment">
<props>
<prop key="java.naming.factory.initial">weblogic.jndi.WL InitialContextFactory</prop>
<prop key="java.naming.provider.url">t3://localhost:9001</prop>
</props>
</property>
</bean>

<bean id="queueConnectionFactory" class="org.springframework.jndi.JndiObjectFactoryB ean">
<property name="jndiTemplate" ref="jndiTemplate"/>
<property name="jndiName" value="jms/ConnectionFactory"/>
</bean>

<bean id="receiveDestination" class="org.springframework.jndi.JndiObjectFactoryB ean">
<property name="jndiTemplate" ref="jndiTemplate"/>
<property name="jndiName" value="jms/CocosinServiceRequest"/>
</bean>

<jms-gateway id="jmsSource" connection-factory="queueConnectionFactory"
destination="receiveDestination" request-channel="main" />

<router ref="processResolver" method="getProcessType" input-channel="main"/>


<service-activator ref="logger" input-channel="inicializarObra"/>

<beans:bean id="processResolver" class="gob.cocosin.integration.obras.contabilidad. ProcessResolver"/>
<beans:bean id="logger" class="gob.cocosin.integration.obras.contabilidad. Logger"/>

<!-- How to use this-->
<marshalling-transformer id="marshaller" marshaller="castorMarshaller"/>

<beans:bean id="castorMarshaller" class="org.springframework.oxm.castor.CastorMarsha ller" />
</code>