[
http://jira.jboss.com/jira/browse/JBESB-1357?page=all ]
Mark Little reassigned JBESB-1357:
----------------------------------
Assignee: Mark Little
Deprecated hint in javadoc for
org.jboss.soa.esb.message.Body.getByteArray doesn't work
---------------------------------------------------------------------------------------
Key: JBESB-1357
URL:
http://jira.jboss.com/jira/browse/JBESB-1357
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Documentation
Affects Versions: 4.2.1
Reporter: jarkko Lietolahti
Assigned To: Mark Little
Priority: Critical
Fix For: 4.2.1 CP1
Javadoc for Body.getByteArray says:" Deprecated. As of 4.2 this has been replaced
by get(BytesBody.BYTES_LOCATION) "
But this doesn't work. BytesBody.BYTES_LOCATION is also deprecated without a proper
hint where to go next!
Following the javadoc and calling System.out.println("Body: " +
message.getBody().get(BytesBody.BYTES_LOCATION)); in HelloWorld ( from Eclipse ESB create
project )
shows "[STDOUT] Body: null
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira