简体   繁体   中英

Raw MQ messages with WCF

Is there a way, using MQ 7.5, to get MQ WCF to place "raw" messages into an MQ queue? It seems to be limited to SOAP-JMS formats.

By raw, I mean non-SOAP, non-JMS, non-XML, just a simple message.

MQ 8 provides this feature with WmqStringMessage as per here , but I'm wondering about a good way to get just a standard MQSTR-type message into an MQ queue.

Short of IBM back-porting changes from later versions of MQ to MQ7, there is no easy way to achieve this.

In the end, we ditched the use of WCF since most of the features we used are also implemented in MQ itself, such as durable transactions and guaranteed delivery.

WCF is good if you want to be able to chop and change the underlying delivery mechanisms but, if all you're using is MQ, it's easier to just code directly to that API.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM