My SDK application is not receiving any message from my publisher. What is wrong?

My SDK application is not receiving any message from my publisher. What is wrong?

book

Article ID: KB0084386

calendar_today

Updated On:

Products Versions
TIBCO Adapter SDK -
Not Applicable -

Description

Resolution:
If you are using the RV 5.x utility "rvsend" as the publisher, an SDK-based listener will not be able to receive the message, because by default SDK listens for AE wire format, which is a nested RV message. "rvsend" only sends simple, non-nested, string messages.

The RV 6 or 7 utility "tibrvsend" sends a nested string message but does not create validating message for an SDK AeMsg listener.

In short, SDK dispatches MExceptionEvent when it receives a message that is not of RV-nested-message type, because it cannot find validation control information. So if you do not check for this event type, it would appear as if your application is not receiving any message.

NOTE: If you use the RV 6 or 7 utility "tibrvsend" then you will not see the MExceptionEvent in SDK C++, because "tibrvsend" actually sends a nested RV message. You will still get an MExceptionEvent in SDK Java because the nested message contains no validation control information.

Issue/Introduction

My SDK application is not receiving any message from my publisher. What is wrong?

Environment

Product: TIBCO Adapter SDK Version: 5.1.3, 5.3.0, 5.2.1, 5.3.2, 4.1.3, 5.0.x OS: All --------------------