[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
17 years, 2 months
[JBoss JIRA] Created: (JBESB-2400) Suppress stderr output from Drools RuleAgent
by Daniel Bevenius (JIRA)
Suppress stderr output from Drools RuleAgent
--------------------------------------------
Key: JBESB-2400
URL: https://jira.jboss.org/jira/browse/JBESB-2400
Project: JBoss ESB
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Content Based Routing
Reporter: Daniel Bevenius
Fix For: 4.x
So is the issue here these statements:
12:51:48,373 ERROR [STDERR] RuleAgent(insuranceconfig) INFO (Wed Sep 17 12:51:48 CEST 2008): Configuring with newInstance=true, secondsToRefresh=30
12:51:48,374 ERROR [STDERR] RuleAgent(insuranceconfig) INFO (Wed Sep 17 12:51:48 CEST 2008): Configuring package provider : FileScanner scanning: /home/jarek/Desktop/SOA-P-4.3.GA/soa-ir4/jboss-soa-p.4.3.0/jboss-as/samples/quickstarts/business_ruleservice_ruleAgent/ruleAgent/package/org.jboss.soa.esb.services.rules.pkg
12:51:48,451 ERROR [STDERR] RuleAgent(insuranceconfig) INFO (Wed Sep 17 12:51:48 CEST 2008): Applying changes to the rulebase.
12:51:48,452 ERROR [STDERR] RuleAgent(insuranceconfig) INFO (Wed Sep 17 12:51:48 CEST 2008): Creating a new rulebase as per settings.
12:51:48,452 ERROR [STDERR] RuleAgent(insuranceconfig) INFO (Wed Sep 17 12:51:48 CEST 2008): Adding package called org.jboss.soa.esb.services.rules
This is logged from RuleAgent class in Drools as we are not specifying a AgentEventListener, and default that will be used prints to System.err.
We can fix this by adding AgentEventListener that delegates to log4j. This might be configurable in Drools though but I'm not sure if it is.
--
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
17 years, 2 months