-
BytesXMLMessage data safety
I saw in the documentation the recommendation not to cache BytesXMLMessage objects, because they may be reused. I am usually extracting the data from it using getBytes() method, and pass it down to the next layer of my processing. Question: is it safe to pass that data array as is? Do I need to make a copy of it?
-
FlowHandle.sendSingleAck parameter
In https://docs.solace.com/API-Developer-Online-Ref-Documentation/jms/com/solacesystems/jcsmp/impl/flow/FlowHandle.html#sendSingleAck(long, boolean) the method sendSingleAck has second parameter "allowReactorComplete". What is the meaning of it?
-
Acknowledge message using ID
I usually acknowledge messages explicitly using BytesXMLMessage.ackMessage() method. This is pretty convenient, because I don't need to worry about how it is done in the implementation. However, there is one essential problem: I need to have the message object around when I want to call the ackMessage(). In my specific…