NO-JIRA: removing dead code on AMQPSessionContext

This commit is contained in:
Clebert Suconic 2017-02-20 19:33:50 -05:00
parent ceba92e534
commit 29af4a982a
1 changed files with 0 additions and 16 deletions

View File

@ -89,22 +89,6 @@ public class AMQPSessionContext extends ProtonInitializable {
} }
} }
/**
* The consumer object from the broker or the key used to store the sender
*
* @param message
* @param consumer
* @param deliveryCount
* @return the number of bytes sent
*/
public int serverDelivery(Object message, Object consumer, int deliveryCount) throws Exception {
ProtonServerSenderContext protonSender = serverSenders.get(consumer);
if (protonSender != null) {
return protonSender.deliverMessage(message, deliveryCount);
}
return 0;
}
public byte[] getTag() { public byte[] getTag() {
return Long.toHexString(currentTag++).getBytes(); return Long.toHexString(currentTag++).getBytes();
} }