Develop > Controller layer > Integrate with back-end systems and external applications > Outbound services > Create an outbound message


Define outbound connector specifications without specifying inbound queue parameters for WebSphere MQ

You can change the outbound connector specifications to omit the inbound queue parameter if you are using WebSphere MQ for only outbound messages and do not want to create an inbound queue. In this scenario, you do not have to define a JMS object for the inbound queue.

To define outbound connector specifications without specifying inbound queue parameters:


Procedure

  1. Create a backup copy of the instance.xml file, enabling you to revert back to the original file if any errors occur.

  2. Open the instance.xml file in a text editor and locate the snippet that defines the outbound connector description. Comment the inQueue parameter:

    <OutboundConnector default="true" enabled="true" id="3" name="JMS" retries="3">
    <JNDI JndiName="eis/JCAJMS" display="false"/>
    <ConnectionSpec ClassName="com.ibm.commerce.messaging.adapters.jcajms.JCAJMSConnectionSpec" default="true">
    <EditableProperty Admin="factory" display="false"  editable="Yes" name="setConnectionFactory" value="JMSQueueConnectionFactory"/> 
    <!--
    <EditableProperty Admin="inQueue" display="false" 
    editable="Yes" name="setInboundQueue" value="JMSInboundQueue"/> 
              --> 
             
    <EditableProperty Admin="errorQueue" display="false" editable="Yes" name="setErrorQueue" value="JMSErrorQueue"/>  
             
    <EditableProperty Admin="outQueue" display="false" editable="Yes" name="setOutboundQueue" value="JMSOutboundQueue"/> 
           
    </ConnectionSpec>                                                
             
         
    </OutboundConnector> 
    

  3. Restart WebSphere Commerce Server for the changes to take effect.


+

Search Tips   |   Advanced Search