Examples of AMQPException


Examples of org.springframework.amqp.AmqpException

   */
  protected Address getReplyToAddress(Message request) throws Exception {
    Address replyTo = request.getMessageProperties().getReplyToAddress();
    if (replyTo == null) {
      if (this.responseExchange == null) {
        throw new AmqpException(
            "Cannot determine ReplyTo message property value: " +
                "Request message does not contain reply-to property, " +
                "and no default response Exchange was set.");
      }
      replyTo = new Address(this.responseExchange, this.responseRoutingKey);
View Full Code Here

Examples of org.springframework.amqp.AmqpException

   */
  private Address getReplyToAddress(Message request) throws AmqpException {
    Address replyTo = request.getMessageProperties().getReplyToAddress();
    if (replyTo == null) {
      if (this.exchange == null) {
        throw new AmqpException(
            "Cannot determine ReplyTo message property value: "
                + "Request message does not contain reply-to property, and no default Exchange was set.");
      }
      replyTo = new Address(this.exchange, this.routingKey);
    }
View Full Code Here

Examples of org.springframework.amqp.AmqpException

          }
        }
        channel.txCommit();
      }
    } catch (IOException e) {
      throw new AmqpException("failed to commit RabbitMQ transaction", e);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.