Results 1 to 2 of 2

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

  1. #1
    Join Date
    Dec 2011
    Posts
    13

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

    I want to nest a int:poller 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. #2
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,034

    Default

    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.
    Gary P. Russell
    Spring Integration Team
    SpringSource, a division of VMware

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •