JBoss EAP 6.2.2
1. There is durable subscriber on a jms-topic:
/subsystem=messaging/hornetq-server=default/jms-topic=MY_TOPIC/:list-durable-subscriptions
{
"outcome" => "success",
"result" => [{
"deliveringCount" => 0,
"name" => "TestMDB",
"consumers" => [{
"sessionID" => "6eb95eeb-87da-11e4-b3c3-5d37ed8b6bf9",
"connectionID" => "bf59df07-87f6-11e4-b3c3-5d37ed8b6bf9",
"browseOnly" => false,
"creationTime" => 1419045457203L,
"consumerID" => 0
}],
"clientID" => "TestMDB",
"queueName" => "TestMDB.TestMDB",
"messageCount" => 0,
"durable" => true
}]
}
2. When I attempt to drop this durable subscriber, I get this error:
/subsystem=messaging/hornetq-server=default/jms-topic=MY_TOPIC/:drop-all-subscriptions
{
"outcome" => "failed",
"failure-description" => "HornetQException[errorType=ILLEGAL_STATE message=HQ119025: Cannot delete queue TestMDB.TestMDB on binding TestMDB.TestMDB - it has consumers = org.hornetq.core.postoffice.impl.LocalQueueBinding]",
"rolled-back" => true
}
3. I've dropped durable subscribers in the past without issue.
Anyone have any clue? I also couldn't find any documentation on this.
Thanks.