[
https://jira.jboss.org/jira/browse/JBESB-2362?page=com.atlassian.jira.plu...
]
Jim Ma updated JBESB-2362:
--------------------------
Attachment: jbr-issue.zip
I wrote a quickstart for this issue. I used the following code to send request to jbr
listener :
private void sendMessageToJBRListener() throws Throwable {
HttpClient client = new HttpClient();
PostMethod postMethod = new PostMethod("http://localhost:8765");
OutputStream bout = new ByteArrayOutputStream();
postMethod.setRequestHeader("Content-Type","binary/octet-stream");
ByteArrayRequestEntity byteRequest = new
ByteArrayRequestEntity("helloworld".getBytes());
postMethod.setRequestEntity(byteRequest);
client.executeMethod(postMethod);
System.out.println("Response status :" + postMethod.getStatusCode());
}
Support "binary/octet-stream" or
"application/octet-stream" mimetype in JBossRemotingGatewayListener
----------------------------------------------------------------------------------------------------
Key: JBESB-2362
URL:
https://jira.jboss.org/jira/browse/JBESB-2362
Project: JBoss ESB
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Transports
Reporter: Jim Ma
Fix For: 4.7
Attachments: jbr-issue.zip
JBossRemotingGatewayListener can not handle "binary/octet-stream" or
"application/octet-stream" mimetype currently.
--
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