Interface JmsReceiverMapperContext
-
public interface JmsReceiverMapperContext
Context object allowing a mapper to get this receiver's receiverId and helper methods for destination handling etc.Threading: not thread-safe, intended for single-threaded use.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
destinationToString(javax.jms.Destination destination)
Converts the specified JMS Destination into an Apama-specific String form that can be round-tripped using theJmsSenderMapperContext.stringToDestination(String)
method.java.lang.String
getConnectionId()
java.lang.String
getReceiverId()
-
-
-
Method Detail
-
getConnectionId
java.lang.String getConnectionId()
-
getReceiverId
java.lang.String getReceiverId()
-
destinationToString
java.lang.String destinationToString(javax.jms.Destination destination) throws java.lang.Exception
Converts the specified JMS Destination into an Apama-specific String form that can be round-tripped using theJmsSenderMapperContext.stringToDestination(String)
method.- Parameters:
destination
- Not null.- Returns:
- A roundtrippable string representing the destination, e.g. "queue:myqueuename". Never null.
- Throws:
java.lang.Exception
- If the destination string could not be generated.
-
-