Luciano
Just use the addDestinationKey operation of the Topic, here is a sample
script:
#
# this script creates a JMSDestinationKey and
# adds the key to an existing JMSTopic
#
mkdir /JMSDestinationKey/mykey
key=$LAST
set $key/KeyType String
set $key/Property JMSCorrelationID
set $key/Direction Ascending
invoke /JMSTopic/mytopic/addDestinationKey $key
invoke $savedom $DOMAIN
Best regards,
Paco
-----Original Message-----
From: wlshell@yahoogroups.com [mailto:wlshell@yahoogroups.com] On Behalf Of
lfiandesio
Sent: Thursday, November 17, 2005 8:19 AM
To: wlshell@yahoogroups.com
Subject: [wlshell] Setting a Topic Destination Key
Hello,
I don't understand how to set a DestinationKey of a Topic.
I succesfully create a Destination Key and the topic but when I call
the method
set DestinationKeys ?...? in the Topic directory I don't know exactly
which parameter to pass. I tried differnt approaches with no luck.
Any idea,
Luciano
Yahoo! Groups Links