[JBoss JIRA] Created: (JBESB-2174) org.milyn.routing.jms.JMSRouter is always creating a String message
by Jaroslaw Kijanowski (JIRA)
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
15 years, 9 months
[JBoss JIRA] Created: (JBESB-1906) The stateful wokring memory should be unique per message correlation number
by Jiri Pechanec (JIRA)
The stateful wokring memory should be unique per message correlation number
---------------------------------------------------------------------------
Key: JBESB-1906
URL: https://jira.jboss.org/jira/browse/JBESB-1906
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Content Based Routing
Affects Versions: 4.4
Reporter: Jiri Pechanec
Priority: Critical
Fix For: 4.4 CP1
For me it seems probably much more useful to provide also option to have stateful rule service organized on different basis.
Each message should contain correlation identifier and the stateful session will be created per the correlation identifier.
It will server much better the intent that is described in excerpt from Service documentation
----- These can be added directly by an ESB aware client. A non-ESB aware client would have to communicate the position of the message (first, ongoing, last) in the data, and an action class would need to be added to the pipeline to add the properties to the ESB message (see quickstarts/business_ruleservice_stateful for an example of this type of service).
--
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
15 years, 9 months