Closed bitsofinfo closed 10 years ago
For anyone else who experiences this, its fixed after I changed JmsTemplate bean config to REF the NevadoTopic rather than using defaultDestinationName, I suspect if you provide defaultDestinationName it assumes a queue rather than topic.
<bean id="jmsTemplate" class="org.springframework.jms.core.JmsTemplate">
<property name="defaultDestination" ref="HelloWorld"/>
<property name="connectionFactory" ref="connectionFactory"/>
</bean>
Hi - so I'm following the quick start, and am trying to use a NevadoTopic instead of queue.
I start up the app, enter my name, nothing comes back. What I see is a topic in SNS w/ the my topic name "helloTopic". This SNS topic has one SQS subscriber named "nevado_temp_3lplz6htodlw".
When I look in SQS, I see the temp queue listed above, plus another SQS queue w/ the same name as the SNS topic. Named "helloTopic"
When I enter my name and hit enter, I see the messages piling up in the SQS queue named "helloTopic"
Nothing shows up on my screen. (The hello() handling class is not invoked)
I also gave everyone full permissions for all sqs actions on the created queues and the connecting principal has access to SNS etc