java - Setting MQ flags for reading segmented message with API exit -


i'm trying set flags seamlessly reading segmented message getbefore exit call, below:

(*ppgetmsgopts)->options = mqgmo_wait | mqgmo_logical_order | mqgmo_all_segments_available | mqgmo_complete_msg | (*ppgetmsgopts)->options;  

it works if use rfhutil reading client, whole message read @ once, if stored segmented. when try read jms client, ends following error code:

'2046' ('mqrc_options_error') 

mq log gives no clue, tells "internal error".

could possible @ read such message jms client? if not, particular problem options?

message segmentation messaging provider specific feature , not defined in jms specification. hence have use provider specific apis, mq base java classes example, segmented messages.


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -