Hi
There are a number of transport callback events available through OpenMAMA but not all middlewares support them all.
MAMA_TRANSPORT_CONNECT
MAMA_TRANSPORT_CONNECT_FAILED
MAMA_TRANSPORT_RECONNECT
MAMA_TRANSPORT_DISCONNECT
MAMA_TRANSPORT_ACCEPT
MAMA_TRANSPORT_ACCEPT_RECONNECT
MAMA_TRANSPORT_PUBLISHER_DISCONNECT
MAMA_TRANSPORT_QUALITY
MAMA_TRANSPORT_NAMING_SERVICE_CONNECT
MAMA_TRANSPORT_NAMING_SERVICE_DISCONNECT
MAMA_TRANSPORT_WRITE_QUEUE_HIGH_WATER_MARK
MAMA_TRANSPORT_WRITE_QUEUE_LOW_WATER_MARK
The only one connected up in avis is disconnect.
When an event like this happens at the middleware layer, it is propagated into the middleware bridge which can then call
one of the following OpenMAMA transport functions which will give the transport callback to the application,
mamaTransportImpl_invokeTransportCallback
mamaTransportImpl_disconnect
mamaTransportImpl_reconnect
If the middleware supports the events and the bridge implementation handles it correctly then you should get transport callbacks for CONNECT.
Thanks,
Ian
From: openmama-users-bounces@... [mailto:openmama-users-bounces@...]
On Behalf Of Nicolas Huyghe
Sent: 17 October 2012 09:09
To: openmama-users@...
Subject: [Openmama-users] Transport Listener issue
Hi everyone,
When using avis middleware, the transport listener does not receive any connection events except for disconnect when I shutdown the avis router.
Is that feature not supported with avis? Will other middlewares such as tibco notify the transport listener on successful connection (CONNECT event) ?
Thanks