Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.91 KB

messagehub080.md

File metadata and controls

34 lines (23 loc) · 1.91 KB
copyright lastupdated
years
2015, 2017
2017-02-01

{:new_window: target="_blank"} {:shortdesc: .shortdesc} {:screen: .screen} {:codeblock: .codeblock} {:pre: .pre}

How to connect existing MQ Light applications

{: #mql_exist_apps}

You can connect existing applications that currently run against either {{site.data.keyword.IBM_notm}} MQ or the {{site.data.keyword.mql}} {{site.data.keyword.Bluemix_notm}} service to the service. The apps continue to work in the same way. {:shortdesc}

To connect existing apps, complete the following checks:

  • Ensure that the app is using the latest available {{site.data.keyword.mql}} API client version for your language.

  • Check that the connection details extracted from VCAP_SERVICES reference the messagehub service type and retrieve the connections user name from the credentials.user property rather than the credentials.username property, and retrieve the connection lookup URL from the credentials.mqlight_lookup_url property rather than the credentials.connectionLookupURI property. For more information, see VCAP_SERVICES environment variable.

    Note that this step is done for you if you use the Java™ client and specify 'null' as the endpointService parameter in the create() call, so that the client retrieves the information itself.

  • Your app must support TLS v1.2 connections. VCAP_SERVICES no longer contains a credentials.nonTLSConnectionLookupURI property for creating a non-TLS connection.

You should also note the following information:

  • Message limits are consistent with {{site.data.keyword.messagehub}} but might be different from other servers supporting the {{site.data.keyword.mql}} API. For more information, see Maximum limits.
  • JMS is not supported.