mirror of https://github.com/apache/activemq.git
Receipt action was not being populated.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418617 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
530884a2d9
commit
be742f2339
|
@ -93,7 +93,8 @@ public class ProtocolConverter {
|
||||||
return new ResponseHandler() {
|
return new ResponseHandler() {
|
||||||
public void onResponse(ProtocolConverter converter, Response response) throws IOException {
|
public void onResponse(ProtocolConverter converter, Response response) throws IOException {
|
||||||
StompFrame sc = new StompFrame();
|
StompFrame sc = new StompFrame();
|
||||||
sc.setHeaders(new HashMap(5));
|
sc.setAction(Stomp.Responses.RECEIPT);
|
||||||
|
sc.setHeaders(new HashMap(1));
|
||||||
sc.getHeaders().put(Stomp.Headers.Response.RECEIPT_ID, receiptId);
|
sc.getHeaders().put(Stomp.Headers.Response.RECEIPT_ID, receiptId);
|
||||||
transportFilter.sendToStomp(sc);
|
transportFilter.sendToStomp(sc);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue