|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtendedMessageListener
A listener interface supporting inbound messages with notification and request-response style. The resource adapter separates the inbound message into interaction properties and data, using the InboundInteractionSpec and CCI Record.
This function is symmetric with the outbound invocation.
The runtime implementation must use the InboundNativeDataRecord.
InboundNativeDataRecord
Method Summary | |
---|---|
Record |
onMessage(InboundInteractionSpec interactionSpec,
Record eventRecord)
Method invoked by the resource adapter to deliver synchronous event to the endpoint. |
void |
onNotification(InboundInteractionSpec interactionSpec,
Record eventRecord)
Method invoked by the resource adapter to deliver one way inbound notification to the endpoint. |
Method Detail |
---|
void onNotification(InboundInteractionSpec interactionSpec, Record eventRecord) throws ResourceException
interactionSpec
- provides metadata about the inbound event.eventRecord
- is inbound event data, may be null
.
ResourceException
- if an error occured during executionRecord onMessage(InboundInteractionSpec interactionSpec, Record eventRecord) throws ResourceException
interactionSpec
- provides metadata about the inbound event.eventRecord
- inbound event data, may be null
.
null
.
ResourceException
- if an error occured during execution
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |