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 » General IBM MQ Support » Topic names in PubSub

Post new topic  Reply to topic
 Topic names in PubSub « View previous topic :: View next topic » 
Author Message
tleichen
PostPosted: Wed Jun 20, 2007 7:29 am    Post subject: Topic names in PubSub Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

How long can a publish/subscribe topic name be? I have not been able to find a specified maximum length. I'm using Websphere MQ version 5.3.
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 20, 2007 8:26 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Base MQ Pub/Sub uses an MQRFH header, not an MQRFH2 header, I believe.

That means that your Topic name can be no longer than can fit in to the NameValueString field on the MQRFH.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
tleichen
PostPosted: Wed Jun 20, 2007 11:02 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

But, according to the Programming Reference, this is a variable length field, which is given by the NameValueLength field. That would only imply a maximum length of the maximum value for an MQLONG!
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 20, 2007 11:56 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Well, and?

It certainly has to be shorter than 100MBs - sizeof(MQMD) - sizeof(MQRFH fixed fields).

It pretty certainly has to be no longer than a PCF String field, given that there's an equivalent PCF message to the MQRFH message for all the base pub/sub commands.

I remember something that may have said that it can't be any longer than a Namelist - which is like 255. But I don't remember where or when...
_________________
I am *not* the model of the modern major general.
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 » General IBM MQ Support » Topic names in PubSub
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.