For applications to make the same call, independent of which client they are putting messages to, the message can be put using the alias of the remote queue definition.
为了应用程序进行相同的调用以及放置消息的客户端的独立性,可以使用远程队列定义的别名来放置消息。
The following code sample shows the class definition and the definition for our table alias.
下面的代码样本显示了类的定义和表的别名定义。
Create a remote queue definition to the bridge queue and add an alias.
创建到网桥队列的远程队列定义并添加别名。
It is therefore useful to add the actual name of the WebSphere MQ queue as an alias to the remote queue definition so that applications know exactly where the message should be sent to.
因此,将WebSpheremq队列的实际名称作为别名添加到远程队列定义中是很有用的,这样应用程序就可以正确的知道消息应该发送到何处。
When using MQe_Script, the alias can be added at the time of creation or as an update in a later stage if the remote queue definition already exists.
当使用 MQe_Script 时,别名可以在创建时期添加,如果远程队列定义已经存在,别名也可以在后面的阶段中进行更新。
Change the definition of the alias and try again.
更改别名的定义并重试。
Change the definition of the alias and try again.
更改别名的定义并重试。
应用推荐