]
Tom Cunningham resolved JBESB-3689.
-----------------------------------
Resolution: Done
Change BodyParam byte[] to String.
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: