Setting Up a Websphere MQ Listener on CentOS

Step 1 - Add the following to /etc/services
-bash-3.2$ vi /etc/services
WebsphereMQ      1414/tcp    # WebSphere MQ channel listener

Step 2 - Create a service configuration file in /etc/xinetd.d
-bash-3.2$ vi /etc/xinetd.d/websphere # place the following in it

service WebsphereMQ
{
   socket_type     = stream
   wait            = no
   user            = mqm
        port                            = 1414
   server          = /opt/mqm/bin/amqcrsta
   server_args     = -m dtmtest.queue.manager
   log_on_failure  += USERID
}

Step 3 - Restart xinetd
-bash-3.2$ service xinetd restart

Step 4 - Check your logs for errors
-bash-3.2$ tail /var/log/messages

Step 5 - Check its listening on port 1414
-bash-3.2$ netstat -an | grep 1414

Comments

Popular posts from this blog

Basic Send Message to MQ with Java and IBM MQ JMS

ActiveMQ, easy to use open source message oriented middleware (MOM)