# Define a QueueConnectionFactory
# Only parameters being overridden from their default values are specified.
# This sets up a MQ client binding.
DEF QCF(QCF) +
TRANSPORT(CLIENT) +
QMANAGER(JMSQM) +
HOSTNAME(localhost) +
PORT(1415)
# Define a Queue Destination
DEF Q(INPUTQ) +
QUEUE(INPUTQ) +
QMANAGER(JMSQM)+
#
DEF Q(OUTPUTQ) +
QUEUE(OUTPUTQ) +
QMANAGER(JMSQM)
#
END
Joined: 15 May 2001 Posts: 540 Location: New Zealand
I used this defs file:
Quote:
# Define a QueueConnectionFactory
# Only parameters being overridden from their default values are specified.
# This sets up a MQ client binding.
DEF QCF(QCF) +
TRANSPORT(CLIENT) +
QMANAGER(TD6QM) +
HOSTNAME(127.0.0.1) +
PORT(1461)
#
DEF Q(INPUTQ) +
QUEUE(INPUTQ) +
QMANAGER(TD6QM)
#
DEF Q(OUTPUTQ) +
QUEUE(OUTPUTQ) +
QMANAGER(TD6QM)
END
:as input to JMSAdmin and created the .bindings file. My file appears to be the same as yours, except that TD6QM is my broker QM.
# Define a QueueConnectionFactory
# Only parameters being overridden from their default values are specified.
# This sets up a MQ client binding.
DEF QCF(QCF) +
TRANSPORT(CLIENT) +
QMANAGER(JMSQM) +
HOSTNAME(localhost) +
PORT(1415)
# Define a Queue Destination
DEF Q(INPUTQ) +
QUEUE(INPUTQ) +
QMANAGER(JMSQM)+
#
DEF Q(OUTPUTQ) +
QUEUE(OUTPUTQ) +
QMANAGER(JMSQM)
#
END
I then configured the Gateway and Publication samples to use OUTPUTQ and they ran successfully.
Possibly you should check your software installation, or try the sample yourself? btw, I assume the '+' above after 'QMANAGER(JMSQM)' was not in the defs file as INPUTQ appears to be OK in your .bindings file.
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