public interface MamaBasicWildCardSubscriptionCallback
MamaBasicSubscription
Modifier and Type | Method and Description |
---|---|
void |
onCreate(MamaBasicSubscription subscription)
Method invoked when subscription creation is complete.
|
void |
onDestroy(MamaBasicSubscription subscription) |
void |
onError(MamaBasicSubscription subscription,
short wombatStatus,
int platformError,
java.lang.String subject)
Invoked if an error occurs during prior to subscription creation or if the
subscription receives a message for an unentitled subject.
|
void |
onMsg(MamaBasicSubscription subscription,
MamaMsg msg,
java.lang.String topic)
Invoked when a message arrives.
|
void onCreate(MamaBasicSubscription subscription)
onMsg
calls to be processed to be called before
the onCreate
callback is processed.subscription
- The subscription.void onError(MamaBasicSubscription subscription, short wombatStatus, int platformError, java.lang.String subject)
If the status
is MamaMsgStatus.NOT_ENTITTLED
the subject parameter is the
specific unentitled subject. If the subscription subject contains
wildcards, the subscription may still receive messages for other
entitled subjects.
subscription
- The subscription.wombatStatus
- The wombat error code.platformError
- Third party, platform specific messaging error.subject
- The subject for NOT_ENTITLEDvoid onMsg(MamaBasicSubscription subscription, MamaMsg msg, java.lang.String topic)
subscription
- the MamaBasicSubscription
.msg
- The MamaMsg.void onDestroy(MamaBasicSubscription subscription)
Copyright 2011 NYSE Technologies