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:
Hiram R. Chirino 2006-07-02 16:48:34 +00:00
parent 530884a2d9
commit be742f2339
1 changed files with 2 additions and 1 deletions

View File

@ -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);
} }