• 1 reply
  • Latest Post - ‏2012-10-07T07:48:40Z by mmalc
289 Posts

Pinned topic Async invocation Java component issue issue

‏2012-09-28T07:53:01Z |
Hi everyone! I'm trying to create mediation module based on Java component:
import is synchronious SOAP HTTP;
export is asynchronious JMS(Response correlation sheme: Request Correlation ID to Correlation ID);
Integration developer generates stub for my mediation component. So method accepts as parameter commonj.sdo.DataObject. What is the best approach to convert Dataobject to ServiceMessageObject, which contains JMSHeaders. Now there is exception that correlationID doesn't set. Could anyone help me to fix this?

Thanks in advance!
Updated on 2012-10-07T07:48:40Z at 2012-10-07T07:48:40Z by mmalc
  • mmalc
    74 Posts

    Re: Async invocation Java component issue issue

    The SMO is only available in a mediation module not in a Java component.

    You can use a custom mediation primitive in the mediation module to write your java code.

    Before you write it all in Java though, check that it isn't easier to write it using the other mediation primitives. Especially if you are just doing transformation.