IBM WebSphere MQ Bridge for HTTP
This 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.
Visit the WebSphere MQ SupportPac site to download and install it:
Uses for the Bridge
The WebSphere MQ Bridge for HTTP can provide simple access for Web 2.0, Web services and applications that don't require MQ clients.
Large client environments
For those who deal with large numbers of applications that require only very simple access to WebSphere MQ, the Bridge for HTTP offers a way to connect these applications without first installing WebSphere MQ clients: "zero-client" access. This can provide:
For those who want to create a rich Web experience with AJAX and REST, the Bridge for HTTP offers a simple to way to access business data from core applications to present to Web users as well as to collect data from Web applications.
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|