[esb-issues] [JBoss JIRA] Created: (JBESB-3689) http_gateway quickstart doesn't output http request body to console as it should
Tom Cunningham (JIRA)
jira-events at lists.jboss.org
Fri Sep 23 10:04:26 EDT 2011
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
More information about the esb-issues
mailing list