-
1. Re: Unable to receive messages with a durable subscription to a topic via STOMP
jbertram Oct 9, 2012 4:04 PM (in response to swisener)Can you attach the full server log that includes everything (e.g. server startup, client connecting/subscriber, producer sending message, etc.)? The DEBUG message your seeing indicates that the subscription wasn't created on the destination therefore there wasn't anything to receive the message sent to the topic.
-
2. Re: Unable to receive messages with a durable subscription to a topic via STOMP
swisener Oct 9, 2012 4:19 PM (in response to jbertram)Sure. I attached it to the original post.
-
3. Re: Unable to receive messages with a durable subscription to a topic via STOMP
swisener Oct 9, 2012 4:36 PM (in response to swisener)I found the issue. In order to create a durable subscription, the user must have the "createDurableQueue" permission. For this simple test, I just gave the guest user the permission.
h2. hornetq-configuration.xml
{code:xml}
<security-settings>
<security-setting match="#">
<permission type="createNonDurableQueue" roles="guest"/>
<permission type="deleteNonDurableQueue" roles="guest"/>
<permission type="createDurableQueue" roles="guest"/>
<permission type="deleteDurableQueue" roles="guest"/>
<permission type="consume" roles="guest"/>
<permission type="send" roles="guest"/>
</security-setting>
</security-settings>
{code}