|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Alias target queue name |
« View previous topic :: View next topic » |
Author |
Message
|
welby |
Posted: Sun Jan 30, 2011 7:36 pm Post subject: Alias target queue name |
|
|
Newbie
Joined: 30 Jan 2011 Posts: 2
|
Hi, I'm trying to define an Alias q using PCF, and MQ v7.0.1.3. When I specify the target q name I get a PCF error code 3015. Omitting the targq parameter creates the Alias q, but without a value for the targq name (naturally). Here is a code snippet. (The targq has a destination on a zLinux box).
int qType = 0;
if (type.equalsIgnoreCase("qlocal"))
{
qType = MQQT_LOCAL ;
}
else if (type.equalsIgnoreCase("qremote"))
{
qType = MQQT_REMOTE ;
}
else if (type.equalsIgnoreCase("qalias"))
{
qType = MQQT_ALIAS;
String qName = q.getProperty("targq");
// BaseQName
if (q.getProperty("targq") != null)
{
pList.add(new MQCFST(MQCA_BASE_Q_NAME, q.getProperty("targq")));
}
} .........
in debug mode, all values are correct. Any help appreciated.
Thanks |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Jan 30, 2011 9:45 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Verify your property name. Targq switches to targetq in V7 mqsc AFAIK.
So please check your property name in V7 against V7 pcf jar files...
Have fun :innocent _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jan 31, 2011 5:02 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
welby |
Posted: Wed Feb 02, 2011 6:06 pm Post subject: |
|
|
Newbie
Joined: 30 Jan 2011 Posts: 2
|
Thanks guys for your input,
Applied the new PCF jar files. But still same result. The only option remaining was to shuffle the order of the parameter list;
1)Alias q name
2)Q Type
3)Remote q Name
in that order and hey presto! We were off and running again. |
|
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
|
|
|
|