Author |
Message |
Topic: How can I send COD when the sender of message don't want? |
danielcruzq
Replies: 2 Views: 3120
|
Forum: IBM MQ Java / JMS Posted: Mon Jan 07, 2008 11:43 am Subject: How can I send COD when the sender of message don't want? |
I'd like to send COD in all messages I receive. I'm Using JMS IBM API...
The sender of message don't wanna I send COD, but I want send the COD. How can I make this?
the code I using..... its don ... |
Topic: Thanks |
danielcruzq
Replies: 0 Views: 1526
|
Forum: IBM MQ Java / JMS Posted: Wed Dec 26, 2007 12:44 pm Subject: Thanks |
thanks....
Also could be:
MQQueue ioQueue = (MQQueue) session.createQueue(queueName);
ioQueue.setTargetClient(JMSC.MQJMS_CLIENT_NONJMS_MQ); |
Topic: JMSBytesMessage (PC x MainFrame) |
danielcruzq
Replies: 1 Views: 1993
|
Forum: IBM MQ Java / JMS Posted: Wed Dec 26, 2007 11:45 am Subject: JMSBytesMessage (PC x MainFrame) |
Hello all,
I have a queue linking one PC and one MainFrame (its working well).
In PC I have Java and I have Natural in Mainframe.
In PC, When I write a JMSBytesMessage in the queue, the natural ... |
Topic: coa timestamp? (in message of report type) |
danielcruzq
Replies: 0 Views: 1746
|
Forum: IBM MQ Java / JMS Posted: Mon Jul 23, 2007 1:41 pm Subject: coa timestamp? (in message of report type) |
int feedback = msg.getIntProperty("JMS_IBM_Feedback");
if (feedback == MQC.MQFB_COA) {
msg.getJMSTimestamp(); // coa timestamp?
}
getJMSTimestam ... |
Topic: how can i get COA/COD using JMSMEssage |
danielcruzq
Replies: 1 Views: 2412
|
Forum: IBM MQ Java / JMS Posted: Thu Jul 19, 2007 10:13 am Subject: how can i get COA/COD using JMSMEssage |
Hi,
I have this code:
JMSMessage inMessage;
inMessage = (JMSMessage) queueReceiver.receiveNoWait();
// getJMSTimestamp() is the COA?
Timestamp cOA = new Timestamp ... |
Topic: how to set message type using JMSMessage? |
danielcruzq
Replies: 1 Views: 2288
|
Forum: IBM MQ Java / JMS Posted: Thu Jul 19, 2007 10:07 am Subject: how to set message type using JMSMessage? |
Hi,
In com.ibm.mq.MQMessage class there is a method
public int messageTypeIndicates the type of the message. The following values are currently defined:
MQC.MQMT_DATAGRAM
MQC.MQMT_REQUEST
M ... |