[esb-issues] [JBoss JIRA] Commented: (JBESB-2174) org.milyn.routing.jms.JMSRouter is always creating a String message

Mark Little (JIRA) jira-events at lists.jboss.org
Fri Nov 14 08:13:36 EST 2008


    [ https://jira.jboss.org/jira/browse/JBESB-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12438449#action_12438449 ] 

Mark Little commented on JBESB-2174:
------------------------------------

We won't be able to upgrade to Smooks 1.1 in SOA-P 4.2 though.

> org.milyn.routing.jms.JMSRouter is always creating a String message
> -------------------------------------------------------------------
>
>                 Key: JBESB-2174
>                 URL: https://jira.jboss.org/jira/browse/JBESB-2174
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Transformation Service
>    Affects Versions: 4.4 CP1
>            Reporter: Jaroslaw Kijanowski
>
> When I use org.milyn.routing.jms.JMSRouter during splitting and routing I always end up with a String message, even if I set
> <param name="messageType">ObjectMessage</param> (instead of the default value "TextMessage").
> The reason for this is the creation strategy. In smooks-1.0.1, ObjectMessageCreationStrategy creates an ObjectMessage by calling the object's toString() method:
> return session.createObjectMessage( object.toString() );
> This looks fixed in smooks trunk:
> return session.createObjectMessage( object );

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the esb-issues mailing list