IBM WebSphere MQ Bridge for HTTPThis new SupportPac provides a simple way to access data on WebSphere MQ for applications that use HTTP. It bridges between MQ resources – both queues and publish-subscribe topics - and HTTP or HTTPS networks. This SupportPac requires a J2EE Application Server to provide the HTTP server-side stack and is offered without support.
Uses for the Bridge
Simple MQ Access
|Sample AJAX code and URIs||resource = Queue||resource = Topic||WebSphere MQ API equivalent|
|this.XMLHttpRequest.open('GET', "http://host/msg/queue/resource");||Reads next message from Queue||Reads next message on that topic||MQGET with browse|
|this.XMLHttpRequest.open('POST', "http://host/msg/queue/resource");||Added data as message to Queue||Publishes data on that topic||MQPUT|
|this.XMLHttpRequest.open('DELETE', "http://host/msg/queue/resource");||Retrieves and removes next message from Queue||Reads subscription and deletes message||MQGET|