Hello,
Maybe I am missing something with configuration.

I am using 2.4.4, tomcat configuration with an added topic named 
TEST_TOPIC and
a client ID tag added to the "guest" user in jbossmq-state.xml to permit 
durable subscriptions.
I use the default configured rolling log persistence.

My first test scenario (Client Failure) is as follows:

1) Start JBoss
2) Create durable subscription to TEST_TOPIC
3) Kill client (abnormal shutdown)
4) Publish messages to TEST_TOPIC
5) Re-connect client under durable subscription.

In this scenario, everything works properly: The messages are delivered 
to the client upon reconnect.

My second test scenario (JMS Server Failure) is as follows:

1) Start JBoss
2) Create durable subscription to TEST_TOPIC
3) Kill client (abnormal shutdown)
4) Publish messages to TEST_TOPIC
5) Kill JBoss (ctrl-C)
6) Restart JBoss
7) Reconnect Client

In this scenario, the messages which were persisted (I checked the files 
under the db directory) are not delivered to the client after restart. 
 I can publish new messages and they are delivered, just not those which 
were published but not delivered prior to the server shutdown.

Am I missing something?  The docs (both free and purchased) do not cover 
this.

Thanks for any info you may have.

Mike Hewitt




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to