Announcement Announcement Module
No announcement yet.
How to limit throughput for int-amqp:inbound-channel-adapter? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to limit throughput for int-amqp:inbound-channel-adapter?

    I want to nest a intoller child element in my int-amqp:inbound-channel-adapter, but it appears to be not allowed with 2.1 namespace. The error is below. How can I force it to pull from my rabbit queue at a slower interval? -Ben

    Caused by: org.xml.sax.SAXParseException; lineNumber: 155; columnNumber: 37; cvc-complex-type.2.1: Element 'int-amqp:inbound-channel-adapter' must have no character or element information item [children], because the type's content type is empty.

  • #2
    The AMQP adapter is event-driven (uses a listener container); it is not polled.

    To limit message processing, be sure to avoid any async handoffs in your flow, and use the concurrency to manage the number of active threads.