Class TemporaryQueueReplyHandler

    • Field Detail

      • exchange

        protected final org.apache.camel.Exchange exchange
      • callback

        protected final org.apache.camel.AsyncCallback callback
      • originalCorrelationId

        protected final String originalCorrelationId
      • correlationId

        protected final String correlationId
      • timeout

        protected final long timeout
    • Constructor Detail

      • TemporaryQueueReplyHandler

        public TemporaryQueueReplyHandler​(ReplyManager replyManager,
                                          org.apache.camel.Exchange exchange,
                                          org.apache.camel.AsyncCallback callback,
                                          String originalCorrelationId,
                                          String correlationId,
                                          long timeout)
    • Method Detail

      • onReply

        public void onReply​(String correlationId,
                            javax.jms.Message reply,
                            javax.jms.Session session)
        Description copied from interface: ReplyHandler
        The reply message was received
        Specified by:
        onReply in interface ReplyHandler
        Parameters:
        correlationId - the correlation id
        reply - the JMS reply message
        session - the JMS session
      • onTimeout

        public void onTimeout​(String correlationId)
        Description copied from interface: ReplyHandler
        The reply message was not received and a timeout triggered
        Specified by:
        onTimeout in interface ReplyHandler
        Parameters:
        correlationId - the correlation id