ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Search

 Search found 12 matches
Author Message
  Topic: Create Queue Manager through Java
ram_2000

Replies: 1
Views: 2232

PostForum: IBM MQ Java / JMS   Posted: Fri Sep 13, 2002 8:33 pm   Subject: Create Queue Manager through Java
i'm not sure what you are trying to do....Why do you want to create a QM based on user input ?

Anyways...if you really have to do it (still cant digest the idea of creating QM's dynamically), you c ...
  Topic: how to Transmit a XMLMessage by MQ
ram_2000

Replies: 1
Views: 1991

PostForum: IBM MQ Java / JMS   Posted: Fri Sep 13, 2002 8:21 pm   Subject: how to Transmit a XMLMessage by MQ
Sending XML should be no different from sending any other String (XML is still a string..). Please see the software repository in this site for examples on sending text messages.
  Topic: JMS & Cluster - URGENT
ram_2000

Replies: 2
Views: 2880

PostForum: IBM MQ Java / JMS   Posted: Fri Sep 13, 2002 8:12 pm   Subject: JMS & Cluster - URGENT
What is the value for queueManagerName ?

I suspect you are using 'queueManager B'.

Try removing the queueManagerName in your call to createQueue()

"queue:///" + queueName + "?targetClient=1" ...
  Topic: Java MQ polling mysteriously vanishes
ram_2000

Replies: 10
Views: 10057

PostForum: IBM MQ Java / JMS   Posted: Fri Sep 13, 2002 12:33 pm   Subject: Java MQ polling mysteriously vanishes
Are you catching Exception or Throwable ?

I have seen cases where only Exception is caught...but this does not include any runtime errors (like OutOfMemoryError)...
  Topic: Sending a message causing a rollback to another queue
ram_2000

Replies: 3
Views: 2966

PostForum: IBM MQ Java / JMS   Posted: Thu Sep 12, 2002 9:43 pm   Subject: Sending a message causing a rollback to another queue
i'm confused on what you are trying to do (Session bean reading message in a queue...what if the message is not available???...do you wait for the message?....MDBs maybe more suitable for what you are ...
  Topic: Java MQ polling mysteriously vanishes
ram_2000

Replies: 10
Views: 10057

PostForum: IBM MQ Java / JMS   Posted: Thu Sep 12, 2002 9:34 pm   Subject: Java MQ polling mysteriously vanishes
I suspect the thread quit (could be due to an exception)...

Make sure you are catching all exceptions/errors in the run() method of your thread..

run() {

try {

// do yo ...
  Topic: MDBs and setRollbackOnly
ram_2000

Replies: 2
Views: 2489

PostForum: IBM MQ Java / JMS   Posted: Thu Sep 12, 2002 8:48 pm   Subject: MDBs and setRollbackOnly
as far as i know Weblogic does not support transactions on foreign JMS providers (in this case MQ Series)....doesn't matter whether you use binding mode or client mode...

But...even if it did, if t ...
  Topic: How to set User ID in MQMD through java(JMS)?
ram_2000

Replies: 3
Views: 4674

PostForum: IBM MQ Java / JMS   Posted: Thu Sep 12, 2002 8:35 pm   Subject: How to set User ID in MQMD through java(JMS)?
I think you can set the user id field.....

Try this...when you create the connection from the connection factory (say QueueConnectionFactory), use the createQueueConnection() method where you can s ...
  Topic: Multithreaded MQ design help needed
ram_2000

Replies: 2
Views: 2690

PostForum: IBM MQ Java / JMS   Posted: Wed Sep 11, 2002 1:38 am   Subject: Multithreaded MQ design help needed
First to answer your questions.....

1. Yes...you need one queueSession (queueSender) per thread. Session is not thread safe...

2. you could use the same qcf and queue connection...You can do thi ...
  Topic: JMS and MQINQ - doable?
ram_2000

Replies: 1
Views: 2027

PostForum: IBM MQ Java / JMS   Posted: Wed Sep 11, 2002 1:13 am   Subject: JMS and MQINQ - doable?
we do it a little differently....we don't check before we send....We just send and if we get a JMSException (make sure its not MessageFormatException or InvalidDestinationException), we just ditch thi ...
  Topic: JMS & MQRFH2
ram_2000

Replies: 1
Views: 2080

PostForum: IBM MQ Java / JMS   Posted: Wed Sep 11, 2002 1:02 am   Subject: JMS & MQRFH2
you don't have to create anything if you are using JMS....

You should read the documentation about mapping JMS messages to MQ messages...this explains how MQMD and RFH2 fit into the JMS world...
...
  Topic: Can't get BackoutCount from MQJMS API!
ram_2000

Replies: 2
Views: 3067

PostForum: IBM MQ Java / JMS   Posted: Wed Sep 11, 2002 12:56 am   Subject: Can't get BackoutCount from MQJMS API!
you should be able to get this attribute with the getStringProperty() method in the Message interface.

Just try listing all the properties using the getPropertyNames() method....you will see the De ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.