Interface SessionMessageListener

All Known Subinterfaces:
ReplyManager
All Known Implementing Classes:
EndpointMessageListener, QueueReplyManager, ReplyManagerSupport, TemporaryQueueReplyManager
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SessionMessageListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onMessage(jakarta.jms.Message message, jakarta.jms.Session session)
     
  • Method Details

    • onMessage

      void onMessage(jakarta.jms.Message message, jakarta.jms.Session session) throws jakarta.jms.JMSException
      Throws:
      jakarta.jms.JMSException