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 » IBM MQ Java / JMS » jms topic connection factory

Post new topic  Reply to topic
 jms topic connection factory « View previous topic :: View next topic » 
Author Message
ae06425
PostPosted: Wed Jul 07, 2010 1:51 pm    Post subject: jms topic connection factory Reply with quote

Centurion

Joined: 02 Apr 2007
Posts: 100

WAS version 6.x, MQ version 6.0.2.4

JMS publish/subscribe set up on MQ
broker service is running
jms topic connection factory and topics is configured on WAS 6.x
(all broker control, publication and jms subscription queues setup on WAS screen in respective fields...)

developer is able to send message and we can see in SYSTEM.BROKER.DEFAULT.STREAM (tested by trapping msg via get disabling this queue)

the messages do not show up in subscriber queue(s) and I checked all jms subscriber queues; curdepth(0).. I even get disabled subscriber queues for testing to trap message but no msg appeared...

We expected messages to end up in subcriber queue(s) as there is no consumers setup yet.
1-- so where the messages possibly being end up? is it being discarded, thrown away or something?
2--is there any way to trace the message: from SYSTEM.BROKER.DEFAULT.STREAM to destination?
3-- Looking for good websphere topic connection factory and topics setup documents, links etc.. for WAS 6.x

Thanks....
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 07, 2010 2:26 pm    Post subject: Re: jms topic connection factory Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

ae06425 wrote:
We expected messages to end up in subcriber queue(s) as there is no consumers setup yet.


So no consumers but you're sure the subscriptions are properly in place?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ae06425
PostPosted: Wed Jul 07, 2010 2:35 pm    Post subject: Reply with quote

Centurion

Joined: 02 Apr 2007
Posts: 100

topic connection factories:
Broker control queue=SYSTEM.BROKER.CONTROL.QUEUE
Broker publication queue=SYSTEM.BROKER.DEFAULT.STREAM
Broker subscription queue=SYSTEM.JMS.ND.SUBSCRIBER.QUEUE
Broker CC subscription queue=SYSTEM.JMS.ND.CC.SUBSCRIBER.QUEUE

topics
Broker durable subscription queue=SYSTEM.JMS.D.SUBSCRIBER.QUEUE
Broker CC durable subscription queue=SYSTEM.JMS.D.CC.SUBSCRIBER.QUEUE
Enable multicast transport=AS CONNECTION FACTORY
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jul 07, 2010 8:24 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

ae06425 wrote:
topic connection factories:
Broker control queue=SYSTEM.BROKER.CONTROL.QUEUE
Broker publication queue=SYSTEM.BROKER.DEFAULT.STREAM
Broker subscription queue=SYSTEM.JMS.ND.SUBSCRIBER.QUEUE
Broker CC subscription queue=SYSTEM.JMS.ND.CC.SUBSCRIBER.QUEUE

topics
Broker durable subscription queue=SYSTEM.JMS.D.SUBSCRIBER.QUEUE
Broker CC durable subscription queue=SYSTEM.JMS.D.CC.SUBSCRIBER.QUEUE
Enable multicast transport=AS CONNECTION FACTORY


So this is an infrastructure definition. With this there is no topic defined and certainly no subscription defined.

A little trick: When you submit your subscription (durable or not) specify a request type message and a reply to Destination (qmgr + queue). The reply message to the subscription will let you know whether your subscription was successful or not.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
calanais
PostPosted: Wed Jul 07, 2010 11:59 pm    Post subject: Reply with quote

Apprentice

Joined: 12 Mar 2010
Posts: 32

Just having the subscriber queues defined is not the same as actually having a subscription in place.

If there are no subscriptions (durable or non-durable) defined then when a message is published the pub/sub engine will just discard the message if there is nobody actively 'listening'. Or at least having a durable subscription registered indicating an intent to 'listen'
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 08, 2010 4:12 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

ae06425 wrote:
topic connection factories:
Broker control queue=SYSTEM.BROKER.CONTROL.QUEUE
Broker publication queue=SYSTEM.BROKER.DEFAULT.STREAM
Broker subscription queue=SYSTEM.JMS.ND.SUBSCRIBER.QUEUE
Broker CC subscription queue=SYSTEM.JMS.ND.CC.SUBSCRIBER.QUEUE

topics
Broker durable subscription queue=SYSTEM.JMS.D.SUBSCRIBER.QUEUE
Broker CC durable subscription queue=SYSTEM.JMS.D.CC.SUBSCRIBER.QUEUE
Enable multicast transport=AS CONNECTION FACTORY


So no subscriptions then?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ae06425
PostPosted: Thu Jul 08, 2010 5:20 am    Post subject: Reply with quote

Centurion

Joined: 02 Apr 2007
Posts: 100

topics is defined on WAS 6.x
Resources
JMS
Topics
with
Name
JNDI Name
Base Topic Name

and other fields....

so, where do you set up subcription..? Pls shed more light on this..
I am MQ SA working with developer on this...
thnx
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 08, 2010 6:21 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

ae06425 wrote:
so, where do you set up subcription..? Pls shed more light on this..


Either set up a durable subscription or better still have the developer you're working with produce a subscribing application. This would be the best solution as presumably that's what you're working towards.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ae06425
PostPosted: Thu Jul 08, 2010 1:58 pm    Post subject: Reply with quote

Centurion

Joined: 02 Apr 2007
Posts: 100

We are successfully set up the mq broker pub/sub environment for application. Developer's subscribers working fine.
I had to authenticate subscriber and jms.admin and broker.control queues for application user_id.

Thanks eveyone..
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » jms topic connection factory
Jump to:  



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
Protected by Anti-Spam ACP
 
 


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

Copyright © MQSeries.net. All rights reserved.