Author |
Message |
Topic: Synchronous MQ/JAVA |
pauloazevedo
Replies: 15 Views: 16629
|
Forum: IBM MQ Java / JMS Posted: Wed Mar 08, 2006 10:48 am Subject: Synchronous MQ/JAVA |
thanxs!!! |
Topic: Synchronous MQ/JAVA |
pauloazevedo
Replies: 15 Views: 16629
|
Forum: IBM MQ Java / JMS Posted: Wed Mar 08, 2006 7:51 am Subject: Message |
but i get the message already!! what i want to do is a "conditional get"!
that´s my code:
MQPutMessageOptions pmo = new MQPutMessageOptions();
try {
filaMQ.put(mensagem,pmo);
... |
Topic: Synchronous MQ/JAVA |
pauloazevedo
Replies: 15 Views: 16629
|
Forum: IBM MQ Java / JMS Posted: Wed Mar 08, 2006 6:01 am Subject: it works but... |
ok, i got it done, but my scenario is this:
the same java application that put the message in queue a, try to to gete the message in queue b. I'm controlling time with a 'for' , ii am looking for ... |
Topic: Synchronous MQ/JAVA |
pauloazevedo
Replies: 15 Views: 16629
|
Forum: IBM MQ Java / JMS Posted: Thu Dec 08, 2005 11:54 am Subject: Synchronous MQ/JAVA |
the first one works fine, my problem is the second, but i've found this(it works fine!!!! thanks a lot!!):
MQEnvironment.hostname=Host;
MQEnvironment.channel=SrvChannel;
MQEnvironment.propertie ... |
Topic: Synchronous MQ/JAVA |
pauloazevedo
Replies: 15 Views: 16629
|
Forum: IBM MQ Java / JMS Posted: Thu Dec 08, 2005 10:17 am Subject: Synchronous MQ/JAVA |
but when i use the first example with factory it works fine(com.ibm.mq.jms), but when i use com.ibm.mq i got 2058! |
Topic: Synchronous MQ/JAVA |
pauloazevedo
Replies: 15 Views: 16629
|
Forum: IBM MQ Java / JMS Posted: Thu Dec 08, 2005 9:17 am Subject: Synchronous MQ/JAVA |
Hi,
I´m using this code;
com.ibm.mq.jms.MQQueueConnectionFactory factory;
factory = new com.ibm.mq.jms.MQQueueConnectionFactory();
factory.setTransportType( com.ibm.mq.jms.JMS ... |
Topic: Synchronous MQ/JAVA |
pauloazevedo
Replies: 15 Views: 16629
|
Forum: IBM MQ Java / JMS Posted: Wed Dec 07, 2005 11:34 am Subject: Synchronous MQ/JAVA |
Thanks i´m gonna take a look! |
Topic: Synchronous MQ/JAVA |
pauloazevedo
Replies: 15 Views: 16629
|
Forum: IBM MQ Java / JMS Posted: Wed Dec 07, 2005 11:14 am Subject: Synchronous MQ/JAVA |
but haw can i 'make a put' and retrieve the operation until reply? do you have any java example? |
Topic: Synchronous MQ/JAVA |
pauloazevedo
Replies: 15 Views: 16629
|
Forum: IBM MQ Java / JMS Posted: Wed Dec 07, 2005 10:56 am Subject: Synchronous MQ/JAVA |
I need to start a transaction inside a session bean(that´s why i can´t use threads). This transaction have to put a message in mq and wait for replay. I know it´s not the better approach, but it´ ... |