1

Using spring XML, just like we create queues, binding etc as below

<rabbit:queue name="TestQueue" />
<rabbit:topic-exchange name="TestExchange">
    <rabbit:bindings>
        <rabbit:binding queue="TestQueue" pattern="Test.Key" />
  </rabbit:bindings>
</rabbit:topic-exchange>

Can we also create shovels?

Please let me know. i want to create dynamic shovels automatically. Not manually through management plugin.

Gary Russell
  • 166,535
  • 14
  • 146
  • 179
vinod hy
  • 827
  • 2
  • 14
  • 26

1 Answers1

1

Can we also create shovels?

No; Spring-AMQP provisioning is limited to what you can do over the AMQP protocol (exchanges, queues, bindings).

RabbitMQ provides a REST API which can be used for other provisioning.

They provide a Java binding for the API.

Gary Russell
  • 166,535
  • 14
  • 146
  • 179