Skip to content

Commit c13f444

Browse files
author
Igor Polevoy
committed
#262 Implement passing zipped messages as binary data in Async - open utility method
1 parent ee48616 commit c13f444

File tree

1 file changed

+1
-1
lines changed
  • javalite-async/src/main/java/org/javalite/async

1 file changed

+1
-1
lines changed

javalite-async/src/main/java/org/javalite/async/Async.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ public List<Command> getTopCommands(int count, String queueName) {
467467
}
468468
}
469469

470-
protected static byte[] getBytes(BytesMessage message) throws JMSException {
470+
public static byte[] getBytes(BytesMessage message) throws JMSException {
471471
//ok to cast long to int; do not expect gigantic messages
472472
int len = (int)message.getBodyLength();
473473
byte[] bytes = new byte[len];

0 commit comments

Comments
 (0)