[JBoss JIRA] Created: (JBESB-3689) http_gateway quickstart doesn't output http request body to console as it should
by Tom Cunningham (JIRA)
http_gateway quickstart doesn't output http request body to console as it should
--------------------------------------------------------------------------------
Key: JBESB-3689
URL: https://issues.jboss.org/browse/JBESB-3689
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Examples
Affects Versions: 4.10 CP1
Reporter: Tom Cunningham
Assignee: Tom Cunningham
Fix For: 4.10 CP1
This minor bug is located in org.jboss.soa.esb.samples.quickstart.httpgateway.MyAction. The process method is defined in following way:
MyAction.java
public String printHttpRequestInfo(@BodyParam byte[] httpPayload
But this way the http body is not extracted from the request. The correct httpPayload type should be String.
I think it is good to fix this because (unfortunately) this is the only place where @BodyParam anotation is used.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months
[JBoss JIRA] Created: (JBESB-3648) Router in Smooks Creates Inverse Persistence
by Tom Cunningham (JIRA)
Router in Smooks Creates Inverse Persistence
--------------------------------------------
Key: JBESB-3648
URL: https://issues.jboss.org/browse/JBESB-3648
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Transformation Service
Affects Versions: 4.10
Reporter: Tom Cunningham
Assignee: Tom Fennelly
Fix For: 4.10 CP1
Smooks' JMS Router configures message persistence incorrectly. The documentation suggests the following configuration will result in persistent messages to the ESB:
<jms:router routeOnElement="student" beanId="studentFragment" destination="queue/StudentRecordQueue">
<jms:message deliveryMode="persistent"/>
</jms:router>
Instead, this leads to non-persistent messages. This is due to a bug in org.milyn.routing.jms.JMSRouter:
final int deliveryModeInt = "non-persistent".equals( jmsProperties.getDeliveryMode() ) ? DeliveryMode.PERSISTENT : DeliveryMode.NON_PERSISTENT;
This should instead be the inverse:
final int deliveryModeInt = "non-persistent".equals( jmsProperties.getDeliveryMode() ) ? DeliveryMode.NON_PERSISTENT : DeliveryMode.PERSISTENT;
This is a particularly major bug because the work around will cause incorrect functionality in future versions of the ESB, which will hopefully fix the issue with a patched version of Smooks' JMS Cartridge.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months