Uploaded image for project: 'Spring AMQP'
  1. Spring AMQP
  2. AMQP-511

SpEL support in @SendTo

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.4.5
    • Fix Version/s: 1.5 RC1
    • Component/s: None
    • Labels:

      Description

      Currently, SpEL is supported in @RabbitListener which makes it quite easy to create properties or @Bean queues to specify where the listener should be attached.

      Since @SendTo doesn't support SpEL, we have to hard code the queue name or add org.springframework.amqp.core.Message to the method arguments and set the replyTo address there.

      Allowing SpEL in the @SentTo annotation would significantly help with maintenance and allow for some creative usages especially if the SpEL is evaluated on send.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            slash3tc slash3tc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: