Resolving problems when using publish/subscribe
Use the advice given here to help you to resolve common problems that can occur when you run publish/subscribe applications.
About this task
Procedure
Application responses are not received
Procedure
Your application is not receiving publications
Procedure
Publishing a message causes a filter error
Procedure
- Scenario: When you publish a message, you receive an error response message with reason text MQRCCF_FILTER_ERROR.
- Explanation: An integration node returns this message
to a publication when subscriptions have been registered that specify
filter expressions (for Content Based Routing) and an error has been
encountered when the integration node attempts to filter the published
message. This situation can occur, for example, if a message is published that includes unsupported data types, or if the message body is corrupted.
Symbols in subscription filters cause problems
Procedure
The Publication node fails with MQRC 2035
Procedure
- Scenario: The Publication node fails with MQRC 2035.
- Explanation: IBM® Integration Bus publishes messages with the user ID in the original message, not the integration node service ID.
- Solution: You can force IBM Integration Bus to use the integration node
service ID in all circumstances by setting the environment variable MQSI_PUBSUB_USE_BROKER_USERID to
any value. If there is no MQMD header, or if there is an MQMD header
but its
UserIdentifier
field is blank, IBM Integration Bus continues to use the integration node's user ID.