Posted: Fri Jan 21, 2005 4:18 pm Post subject: MDB not able to get messages published
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
we have a weblogic server on which we registered the MQTopicConnectionFactory and MQTopic in JNDI (client). I have an MQServer in one of our other machines which publishes to a certain topic. The problem is that my MDB is not receiving any messages published by the java program on the mqserver to that topic. Do I have to do anything special in order for an MDB to suck messages from the topic? do I need to have a broker running on the client machine? Please clarify
no, you should not have to do anything special, provided the MDB listener port has started against this topic (you can see this in SystemOut) then any messages successfully published will be consumed by the MDB.
You do need a broker running on the MQ server - you probably have ma0c, which is what is required for pubsub in the first place. If you are using shared queues, you should be able to see the publication arrive at this queue.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum