Kbase P6499: Problem serving multiple MQSeries queues over MQSeries Bridge
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  04/09/2002 |
|
Solution ID: P6499
FACT(s) (Environment):
SonicMQ
SYMPTOM(s):
Problem serving multiple MQSeries queues over MQSeries Bridge
Bridges messages are sent to one queue only instead of multiple queues on the SonicMQ side.
All information from the various MQ queues comes off the MQ link
onto a single queue on the Sonic Broker
CAUSE:
Checking the references of the file bridgeconfig.xml with IE 5.5, we see in
that specific case
for:
MQ:toSonicQ01
Sonic:toSonicQ
for:
MQ:toSonicQ02
Sonic:toSonicQ
for:
MQ:toSonicQ03
Sonic:toSonicQ
for:
MQ:toSonicQ04
Sonic:toSonicQ
for:
MQ:toSonicQ05
Sonic:toSonicQ
where Sonic:toSonicQ has as destination, the SonicMQ queue in the example named MQ.FPDPO
In the example, MQ:toSonicQ* ( * stands for 01 - 05 ) are the names of the consumers for the MQSeries queues while Sonic:toSonicQ is the name of the producer for one of the defined destinations for the SonicMQ queues.
This is the reason why all messages with the specific configuration go into
the same SonicMQ queue in the MQ.FPDPO example.
FIX:
If you want to forward the message that you consume from the destination MQ:toSonicQ01 into the destination Sonic:toSonicQ01 (which, in the example, is the queue named MQ.FPREC) then you need to have a reference for MQ:toSonicQ01 Sonic:toSonicQ01, which is in this specific case, the producer for the SonicMQ queue named MQ.FPREC:
Example:
<destination name="MQ:toSonicQ01" role="CONSUMER" destination="PRT.FPREC"
type="QUEUE" retryInterval="60" retryCount="10"
DMQDeliveryOnSendFailure="false">
<resourceRef name="Sonic:toSonicQ01" type="destination" />
<resourceRef name="MQ:cF" type="connectionFactory" />
<parameterRef name="syncpoint" value="false" />
<parameterRef name="wait" value="true" />
<parameterRef name="waitInterval" value="10000" />
</destination>