Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3810

AMQP Inbound Gateway NPE with No ReplyTo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 4.2.GA
    • Component/s: AMQP Support
    • Labels:

      Description

      Sending a message to an inbound gateway with no replyTo property causes an NPE.

      Caused by: java.lang.NullPointerException
      at org.springframework.integration.amqp.inbound.AmqpInboundGateway$1.onMessage(AmqpInboundGateway.java:109)

      The Assert on line 115 needs to be moved to 109.

      Also fix the TODO on line 108.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abilan Artem Bilan
              Reporter:
              grussell Gary Russell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: