websphere-mq

SSL Cert .p12 in .net

I got a .p12 file from our server team. I need to connect MQ server using this. What i need to amqputc to work. is there any config entries i need perform before i use this. ...

how to check if there is any consumer to the queue on Ibm Mq

Hi All, How can I check from IBM MQ UI that to a specific queue if there is any consumer present ...

websphere-mq security changes in 7.0 + - Is it possible to secure MQ objects without using security exits

We are using security exits in WebsphereMQ 6.0 to provide security in java clients connecting to MQ and MQ - MQ connectivity. We use security exits to provide secure way to connect to Queue managers , Queue , channel. IS there any change in security mechanism in latest version so that we can completely avoid using security exits ? Thi...

Websphere MQ 7.0 + jars compatible with 5.3 and 6.0 MQSeries servers ?

I tried connecting jms client with 5.3 / 6.0 MQseries client jars to 7.0+ server, but it threw follwoing exception com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2423 at com.ibm.mq.MQQueueManager.sequentialConstruct(MQQueueManager.java:904) at com.ibm.mq.MQQueueManager.(MQQueueManager.java:865) at com.ibm.mq.MQSP...

MQ window to Unix special chars

I am using .net client to post mesages to MQ server which is hosted on Unix. It is added some control character before the messages. Like below **^CD**<request> The Queue connection is through SSL Table channel connection. The code i am using is MQQueueManager queueManager = new MQQueueManager ; int openOptions = MQC.MQOO_OUTPUT...

What is an MQ and why do I want to use it?

Hi folks, On my team at work, we use the IBM MQ technology a lot for cross-application communication. I've seen lately on Hacker News and other places about other MQ technologies like RabbitMQ. I have a basic understanding of what it is (a commonly checked area to put and get messages), but what I want to know what exactly is it good at...

Can I open a clustered MQ queue for writing in Perl?

If I have a Websphere MQ queue defined on another queue manager in the cluster, is there a way I can open it for writing using the Perl interface? The code below brings back mqrc 2085. $messageQ = MQSeries::Queue->new ( QueueManager => $qMgr, Queue => $queue, Options ...

jms message not moving of the queue in websphere

I have a message driven bean that throws exception under certain conditions. When it throws an exception the message is not processed and put back on the queue. From what I understand with MQ and WAS (Websphere Application Server) the message should be marked as bad after x number of tries and removed from the queue. This is not happenin...

MQ Connection - 2009 error

am connectting the MQ with below code. I am able connected to MQ successfully. My case is i place the messages to MQ every 1 min once. After disconnecting the cable i get a ResonCode error but IsConnected property still show true. Is this is the right way to check if the connection is still connected ? Or there any best pratcices around ...

Getting error reason code 2059 on MQ client (C#) when reconnecting to QueueManager after awhile

I can't reconnect to MQQueueManager after a while as an exception (reason code 2059 - MQRC_Q_MGR_NOT_AVAILABLE) is thrown when I'm constructing new object of MQQueueManager. My client app is written in .NET/C# and I'm running it on Win2003. However I can connect to QM after I have restarted my client app. This would indicate that some s...

MQSeries and Delphi

Are there any (preferable free and open) components or examples out there for integrating to IBM MQSeries from Delphi? Edit Looks like IBM provide a unit http://www-01.ibm.com/support/docview.wss?uid=swg24007060 ...

How to monitor an existing queue from WebSphere MQ?

I have a .NET application that needs to monitor a queue in WebSphere MQ. I need to react to each message without impacting the current process. The client application can't explicity send me the same message. Can I read a message without removing it from the queue? Can I be notified for each message? Can I configure the MQ to duplicate ...

C++ Client connecting to IBM MQ over SSL

I need to change the C++ code to connect with WebSphere MQ using Client Channel defnition table. There are about 5000+ MQ clients and 10 MQ Servers on Windows 2003 with v6.0. Please help me if any one using C++ with CCDT. ...

When disconnecting from WebSphere MQ with C# client TCP connections are still in CLOSE_WAIT status

I am disconnecting from MQQueue and MQQueueManager with the following code: Queue.Close(); log.Info( "Queue IsOpen: " + Queue.IsOpen.ToString() ); Queue = null; QueueManager.Disconnect(); QueueManager.Close(); log.Info( "QM IsOpen: " + QueueManager.IsOpen.ToString() ); log.Info( "QM IsConnected: " + QueueManager.IsConnected.ToString()...

Load balancing the Client connections

We have 5000+ clients, 10 gateway servers and 6 backend servers. Both gateway and backend Servers are in same cluster. If v7.0.1 is used on clients and gaetway servers, is round robin load balancing possible if CCDT is used? We want distribute load even across all the 10 gateway servers. Thank You ...

How to do a transactional get from Websphere MQ in dotnet?

I’m writing a client that receives messages from an external Websphere MQ Queue and puts them on an internal MSMQ Queue. The client will use MQ Client or, preferably, be purely managed (MQC.TRANSPORT_MQSERIES_MANAGED). Based on an example from IBM, I have a version up and running that can do a simple IBM.WMQ.MQQueue.Get(…). How can this...

How do I move messages between queues in Websphere MQ 6

Is there a (Linux) command to move all messages from one queue in Websphere MQ 6 to another queue? I have a queue that has a defined backout queue, but I want to know how to transfer all the messages back to the original queue once the error preventing the messages from being processed has been corrected. Is there a GUI tool that can d...

AMQP vs Websphere MQ

We're working on an application that supports AMQP for queuing. Some of our clients are using Websphere MQ. I'm just wondering at a high level how interchangeable these two protocols are in terms of functionality. I'm using celery, which should allow me to abstract out the lower-level stuff as long as I can write a Websphere MQ backen...

new MQConnectionFactory throwing null pointer in jboss ??

I am trying to execute the following command MQConnectionFactory connFactory = new MQConnectionFactory(); and i get a null pointer that i can't seem to track down, i have attached the stack trace, any help would be greatly appreciated. java.lang.NullPointerException at com.ibm.msg.client.jms.internal.JmsFactoryFactoryImpl.getIns...

How to design an MQ Server?

I'm unclear as to whether there should be a 1-1 or a 1-* relationship between: Server-Connection Channel and JMS Topic Server-Connection Channel and Listener Listener and Topic Regards the design of our application layer, there is a single MDB that in response to a message, does some work, then publishes messages onto a variety of ou...