websphere-mq

How to generate Websphere MQ script?

Many times I use 'mqsc' for create MQ queue manager from script files but I don't know how to generate script files. Thanks ...

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

Message Queues: Are messages lost on network failure?

I am wondering about the reliabilty of message delivery in messaging systems such as WebsphereMQ or ActiveMQ (used via JMS). As far as I know messages can be buffered if the recepient is unavailable and will be delivered later. Now I am wondering what happens if the sender temporarily cannot reach the network. Is there some kind of loca...

JMS Websphere MQ BytesMessge and TextMessage

I have a Java application that sets a listener on a queue, the onMessage(Message) gets a subclass of javax.jms.TextMessage, how can i make it get a subclass of javax.jms.BytesMessage Note: I don't have access to the application that sends the messages. ...

Configuring a 'retry delay' in MQ Series

I'm hoping someone can help me - I'm using JBoss 5.1 and MQ Series 7 in an EJB / JMS based application. I have several message driven beans in my application, each listening on an MQ Series message queue. When an error is encountered during the processing of a message, I need to be able to configure a 'retry delay', so that mq series w...

Websphere MQ using JMS, closed connections stuck on the MQ

I have a simple JMS application deployed on OC4J under AIX server, in my application I'm listening to some queues and sending to other queues on a Websphere MQ deployed under AS400 server. The problem is that my connections to these queues are terminated/closed when it stays idle for some time with the error MQJMS1016 (this is not the p...

JMS CreateQueue Question

Hi, I have a general question about the JMS createQueue method. In WebSphere MQ is this method used as an alternative to the JNDI lookup? I was thinking that I could dynamically create a queue. Is this possible? Thank you. ...

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 Message Listener Threads

Hi, I am trying to figure out how WSMQ handles message listeners and threads. If I have one instance of a message listener, and have many queues, does each listener create a new thread for each queue? Or will there be one thread for the listener? Any insight will greatly help, thank you. ...

WSMQ Queue Limit

Hi, is there a limit on how many queues I can have open within a single connection and single session? I can currently open up 128 queues and send messages to them. If I try to open up 129 I get the following error... Thanks Error: com.ibm.msg.client.jms.DetailedResourceAllocationException: JMSWMQ2008: Failed to open MQ queue 'TestQ...

Way to place a bad request in a dead-letter queue when using JAX-RPC?

I'm using JAX-RPC 1.1 to generate services for a set of applications running on WAS 6.0, communicating via Websphere MQ. A mainframe will be sending messages to the services, so if for some reason the message can't be converted to objects (likely due to EBCDIC-to-ASCII weirdness), the message needs to be placed on the dead-letter queue ...

How can an IBM WebSphere MQ's Queue Manager's local queues be enumerated?

I'm trying to write a simple tool for monitoring the state of a Queue Manager. One of the things I'd like to monitor is the current queue depth of each queue. I haven't been able to find a way to programmatically enumerate all of the queues on a particular Queue Manager, though. Do any of the MQ APIs provide this functionality? I'd p...

WebSphere MQ with zLinux

We have an existing J2EE application that uses WebSphere MQ to retrieve data from IMS. The J2EE application sends the IMS transaction name to MQ, which retrieves IMS data. The returned data is then parsed for further processing. Recently we migrated the application to WebSphere 7. The application worked fine on a windows box. However, ...

DefaultMessageListenerContainer not working with Websphere MQ

Hello everyone, I am using spring 2.5.6 and spring-integration 1.0.3 and MQ client 6.0.2.2 I have had to add a message selector to my message-driven-channel-adapter, but now I am getting the following error: MQJMS2008: failed to open MQ queue ; nested exception is com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2085 It wor...

Authorization with Websphere MQ 6

I have the server side of IBM's WebSphere MQ version 6 on a virtual machine running Windows Server 2003, sitting on a Vista desktop. The desktop has the client installed. I've got a little test program (from their code samples) that puts a message on a queue and takes it off again. This program worked when run on the server directly wit...

Using Websphere MQ with JMS from a .NET application.

I'm trying to send a message to a java server over a Websphere MQ which uses JMS as the transport protocol. I can happily drop messages on the MQ using the IBM supplied libraries, but the server rejects them. I'm assuming (hopefully correctly) that this is because I'm missing various JMS specific headers/properties on the MQ message. ...

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

What the best way to move IBM Message Broker components between DEV, QA and PROD environments?

On a SOA project we start to employ IBM WebSphere Message Broker to orchestrate .NET-based web services. We have distinct DEV, QA and PROD environments for the system being developed. WebSphere Message Broker Toolkit would be used to develop message flows in DEV. And with DEV everything is more or less clear. For QA and PROD we aim to...