🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
Is it possible to obtain the maximum message size for guaranteed messages through the API?
I'm using the Java RTO library. I would like to know if its possible to obtain the maximum message size that can be sent using guaranteed messages programmatically.
Best Answer
-
You can use your Session to Solace to retrieve your connection capabilities. For the guaranteed message size, you can use:
SessionHandle.getCapability(CAPABILITY_MAX_GUARANTEED_MSG_SIZE)5
Answers
-
You can use your Session to Solace to retrieve your connection capabilities. For the guaranteed message size, you can use:
SessionHandle.getCapability(CAPABILITY_MAX_GUARANTEED_MSG_SIZE)5 -
@solaceleah said:
You can use your Session to Solace to retrieve your connection capabilities. For the guaranteed message size, you can use:
SessionHandle.getCapability(CAPABILITY_MAX_GUARANTEED_MSG_SIZE)Awesome @solaceleah - thanks for that.
0