File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes Help to create MQ message in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Help to create MQ message in java" Watch "Help to create MQ message in java" New topic

Help to create MQ message in java

Mario Gimenez
Ranch Hand

Joined: Mar 23, 2010
Posts: 38
I need some example for create a message to send via MQ Websphere in java.
I create and send a message but I need put some kind of format because the message arrive wrong in mq. I don't know do that.
Sorry for my english.

Ernesto Chicas

Joined: Jan 13, 2010
Posts: 18

I understand that your problem is with the format of the message and not sending the message to an MQ queue, you can try the following:

if it fails, you can put your source code and review

The MQC class is deprecated in WMQ v7, but should work.
Anton Novopashin

Joined: Feb 25, 2008
Posts: 19
Yo can use Deprecation list

MQC constants have moved to MQConstants class, see
MQConstants class

OCJP (1Z0-851).
Integration Developer (000-607).
WAS Admin (000-377).
I agree. Here's the link:
subject: Help to create MQ message in java
It's not a secret anymore!