The MQ WSDL extensibility elements allow the user to "configure" 3 groups of information for the MQ Binding Component: MQ address information, MQ message body and message header, MQ operations
This page describes the elements for each of these 3 groups.
MQ address element attributes:
| Attribute Name | Description | Mandatory | Example |
|---|---|---|---|
| hostName | the host name or ip address where mq q mgr resides | Yes | rchen-2k |
| portNumber | the port q mgr | yes | 1414 |
| queuemanagername | queue manager name | yes | rchen2kmq6qmgr |
| channelName | the name the server channel | yes | svrconnchnl |
| userid | user id | no | |
| password | password | no |
A sample usage:
<service name="serviceMQ">
<port name="portMqPut" binding="tns:bindingMqPut">
<mq:address hostName="rchen-2k" portNumber="1414" queueManagerName="rchen2kmq6qmgr" channelName="svrconnchnl"/>
</port>
</service>
MQ operation element attributes:
| Attribute Name | Description | Mandatory | Example |
|---|---|---|---|
| queueName | the name of the queue we will put orrecv message | yes | queue2 |
| transaction | specify the message action is transactional requirement. if user do not specify value, we default to no transaction | No | NoTransaction |
| queueOpenOptions | the queue can be opened with certain option. If value 0 is entered, the queue will be openned with default options | No | 0 |
| pollingInterval | Defines the polling interval that MQ BC polls target queue for inbound message. The polling interval is specified in milliseconds and has a default value of 1000ms. This attribute has no effect for mqput. | No | 5000 |
A sample usage:
<mq:operation queueName="queue2" operationType="mqput" transaction="NoTransaction" queueOpenOptions="2000"/>
A sample usage:
<input name="input1MqPut">
<mq:mqheader>
<mq:correlationId parts="correlationid"/>
<mq:messageId parts="messageSequenceNum"/>
</mq:mqheader>
<mq:mqmessage mqMessageBody="mqMessageTextBody"
mqMessageType="TextMessage"
mqSyncPoint="true"/>
</input>