public class MessageUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MessageUtils.Codec |
Constructor and Description |
---|
MessageUtils() |
Modifier and Type | Method and Description |
---|---|
String |
getName(Event event) |
String |
getProtocolName()
Get the base name of the protocol.
|
String |
getProtocolVariant()
Get the name of the protocol variant.
|
boolean |
isLegTerminatingEvent(Object eventType)
Determine if the specified event type is a leg terminating event.
|
boolean |
isLegTerminatingEvent(Object eventType,
Object invokeArgument)
Determine if the specified event type is a leg terminating event.
|
public String getProtocolName()
public String getProtocolVariant()
public boolean isLegTerminatingEvent(Object eventType)
eventType
- the CAMEL event type e.g. tCalledPartyBusytrue
if the event type is a leg terminating event type, false
otherwise.
The default implementation in this class always returns false
.public boolean isLegTerminatingEvent(Object eventType, Object invokeArgument)
eventType
- the CAMEL event type e.g. tCalledPartyBusyinvokeArgument
- CAMEL events tCalledPartyBusy and tNoAnswer use the event parameter callForwarded to determine if the event is leg terminating.true
if the event type is a leg terminating event type, false
otherwise.
The default implementation in this class always returns false
.