Cannot use SEDA queue error during startup.

Solution Verified - Updated -

Issue

  • Our Fuse application fails to start in our Production cluster with this error :
org.apache.camel.RuntimeCamelException: org.apache.camel.FailedToCreateRouteException: Failed to create route sfdc-soap-notifications-asyncdispatcher-route: Route(sfdc-soap-notifications-asyncdispatcher-route)[[From[s... because of Cannot use existing queue seda://dispatchSfdcNotifications as the existing queue size 2147483647 does not match given queue size 1000
  • On our test cluster we don't have this error.
  • We don't understand why this value of 2147483647 come from although we set up 1000 in the configuration :
      # Configuration for in-memory asynchronous processing (Camel SEDA component)
      async:
        sdfc-notifications:
          # Sets the default maximum capacity of the SEDA queue (i.e., the number of messages it can hold).
          queue-size: 1000
          # Sets the default number of concurrent threads processing exchanges.
          concurrent-consumers: 50

Environment

  • Red Hat Fuse
    • 7.3.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In