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 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 the JmsSenderMapperContext.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.