ibm-mq

IBM MQ for file transfer

We are facing a choice to use IBM MQ over SFTP for file transfer. I've heard advantages of such approach, but I've never see anyone actually using it for a large files. So main question: how well IMB MQ can handle transfer of large files (up to 100 MB)? Is it stable? It's from mainframe to UNIX server, if it does matter. Thanks a lot....

Is IBM MQ V6.0 setting JMSXDeliveryCount property?

I need to implement handling of redelivery of JMS messages in the application that is deployed on the IBM-backed environment, so JMS provider is standalone MQ V6.0. Do you know if it is setting JMSXDeliveryCount property correctly and I can rely on the values of this very property? ...

What happens if a message is rolled back in MQ?

Hi, I receive a message from a WebSPhere MQ queue. I try to process and if i receive some exceptions i want to rollback the message to the MQ Queue. I have no problems in doing the same. What happens to the message? Does it go to the bottom of the queue? If i try and pull a message from the queue would i receive the same message that ...

Creating TemporaryQueues

Hi, I have tried to create and use a TemporaryQueue in JMS. My producer succeeds but my consumer fails at this like, with the following error. I understand that this question may require the full code, but it is very lengthly and I am sure no one wants to sort though that. However, if the answer is not so obvious from what I have give...

IBM MQ Message Listener

Hi does anyone know how to create a message listener using IBM MQ? I know how to do it using the JMS spec but I am not sure how to do it for IBM MQ. Any links or pointers are greatly appreciated. ...

WebSphere MQ Low Latency Messaging - Does it have a JMS (or JMS like) API?

We are currently using IBM MQ via JMS, but seem to be pushing through more messages than it can handle - strangely, the problem seems to be intermittent. The messages are prices and thus dont need to be guaranteed, just need to be sent quickly. As IBM have a Low Latency product, I am wondering if that is perhaps the better solution - b...

IBM MQ series C++ to C# translation (transport type, heartbeat interval)

I have ported a few bits of code from C++ to C# - everything seems to be working, though I am not satisfied with my work since I have skipped over a few things which were in a C++ version - but I am not sure how to do that in a C# version. Basically the difference is that C++ and C# wrappers for IBM MQ series has a slightly different o...

How to connect to a queue manager with ssl enabled server connection channel when authentication is required.

I am trying to write a java application connecting to server connection channel with SSL enabled. So far, I have been successfully connected to the channel by setting authentication to 'optional'. However, when I set it to be 'required', the connection fails. Here is what I did: Create key db for queue manager and keystore for...

Are server-conn and client-conn channels the only channels that could have more than one instances?

I cannot figure out a way to get other channel types, e.g. sender channel, to be multiple instances. There is nothing documented against this. I am assuming only the connection channels could have multiple instances. Is this correct? Thanks. ...

Connect to ibm mq with jms . Specify the channel and queue manager

How do i specify which queue manager to connect to in my system properties. Here is the code: Properties properties = new Properties(); properties.setProperty("java.naming.factory.initial", "com.ibm.mq.jms.context.WMQInitialContextFactory"); properties.setProperty("java.naming.provider.url", "localhost:1414/SYSTEM.DEF.SVRCONN"); Cont...

Using JMS to connect to IBM MQ

Hi, I want to use JMS to connect to IBM MQ. How do i specify the queuemanager, the channel and other properties ? ...

IBM MQ JMS Message Listener

Hi, I want to use javax.jms.QueueConnectionFactory to connect to IBM MQ Is it possible to specify the queue manager and channel manager while connecting ? I want to avoid using com.ibm.mq.jms.MQQueueConnectionFactory. I am using JBoss 4.3 ...

How can I read a IBM WebSphere MQ message of format type MQEVENT in c#

I can get the event messages from the queue. I get the message properties. I am pretty sure the MQEVENT type is in PCF format but I cannot seem to find any good documentation on how to take that message and convet it into human readable format. AccountingToken ApplicationIdData ApplicationOriginData BackoutCount 0 BackoutCount...

How to make multiple instances of RCVR, RQSTR and CLUSRCVR channels in WMQ?

This is a follow up on the question below, but it deserves another question. http://stackoverflow.com/questions/1821514/are-server-conn-and-client-conn-channels-the-only-channels-that-could-have-more-t To my understanding, a receiver (or cluster receiver) channel usually pair up with a single sender (or cluster sender) channel. How ca...

Calling same function until it connect to server

I am in the process of designing a system where i need to keep on trying to connect to MQ server unitl i get a connection. By default if the MQ is not availlble it will thorugh exception. How can call the same method again and again until i get the connection. I know i can use recursion, is there any better way to do it . Becuase i wou...

.NET client connecting to IBM MQ over SSL

I got key files from our client where I need to use them to connect to MQ over SSL. The files we have got from client are: xxx.crl xxx.kdb xxx.rdb xxx.sth xxx.tab They said client channel table in that. I am trying to connect using the below code. And they are saying I don't need to specify the Queue Manager it will be defined ...

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 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...

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 ...