|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Topic names in PubSub |
« View previous topic :: View next topic » |
Author |
Message
|
tleichen |
Posted: Wed Jun 20, 2007 7:29 am Post subject: Topic names in PubSub |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed Jun 20, 2007 8:26 am Post subject: |
|
|
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 |
|
 |
tleichen |
Posted: Wed Jun 20, 2007 11:02 am Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed Jun 20, 2007 11:56 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|