Announcement Announcement Module
No announcement yet.
Simple working example of spring-integration-amqp Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Simple working example of spring-integration-amqp

    Hi All,

    I know it's still sandboxed, but is there at least some simple example of spring-integration-amqp that I can play around with?

    I installed org.springframework.integration:spring-integration-amqp:2.0.4.BUILD-SNAPSHOT and tried to use the context configuration from but to no avail.

    with that exact configuration I just get

    Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'rabbit:connection-factory'.

  • #2
    Is that at runtime? If it is then you probably just have the wrong (old) version of spring-rabbit.jar.


    • #3
      RE: Simple working example of spring-integration-amqp

      I received the same problem. The issue is that the location for the spring-rabbit.xsd doesn't exist (or at least it doesn't anymore).

      I used the location which I found referenced elsewhere on the Internet and it seems to work.


      • #4
        Make sure that your project has the Spring nature in STS/Eclipse. Once it has the Spring nature the IDE will know to pull the appropriate XSDs from the spring-rabbit JAR instead of trying to fetch it from the Web.

        To add it: right-click on the project in STS and select Spring Tools -> Add Spring Project Nature.