• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

Spring cloud AWS SQS messaging configuration for annotation-driven-queue-listener  RSS feed

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have the below configuration :-

context.xml

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <br /> xmlns:aws-context="http://www.springframework.org/schema/cloud/aws/context" <br /> xmlns:aws-messaging="http://www.springframework.org/schema/cloud/aws/messaging" <br /> xmlns="http://www.springframework.org/schema/beans" <br /> xsi:schemaLocation="http://www.springframework.org/schema/beans <br /> http://www.springframework.org/schema/beans/spring-beans.xsd <br /> http://www.springframework.org/schema/cloud/context <br /> http://www.springframework.org/schema/cloud/aws/context/spring-cloud-aws-context.xsd <br /> http://www.springframework.org/schema/cloud/messaging <br />   http://www.springframework.org/schema/cloud/messaging/spring-cloud-aws-messaging.xsd">

<aws-messaging:annotation-driven-queue-listener/>

</beans>

pom.xml  has

<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-aws-messaging</artifactId>
<version>2.1.0.RELEASE</version>
</dependency>

Result

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'aws-messaging:annotation-driven-queue-listener'.

Can anyone help please.  The documentation seems a bit sparse and in the Spring documentation it has the .xsd missing.

John
 
Michael Bell
Greenhorn
Posts: 22
 
Something about .... going for a swim. With this tiny ad ...
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!