[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: http://jira.jboss.org/jira/browse/JBMESSAGING-808 - Fail

clebert.suconic@jboss.com do-not-reply at jboss.com
Mon Feb 5 16:10:06 EST 2007


The message is persistent...

It's creating a new reference to the same message.


I commented out the receives from the testcase and printed the queries:


  | mysql> select * from jms_message;
  | +-----------+----------+------------+---------------+----------+-------------+--------------------+--------------+------+---------+---------------+---------------------+-----------------------------------+---------+---------------+
  | | MESSAGEID | RELIABLE | EXPIRATION | TIMESTAMP     | PRIORITY | COREHEADERS | PAYLOAD            | CHANNELCOUNT | TYPE | JMSTYPE | CORRELATIONID | CORRELATIONID_BYTES | DESTINATION                       | REPLYTO | JMSPROPERTIES |
  | +-----------+----------+------------+---------------+----------+-------------+--------------------+--------------+------+---------+---------------+---------------------+-----------------------------------+---------+---------------+
  | before-poison |            2 |    5 | NULL    | NULL          | NULL                | QJBossQueue[testDistributedQueue] | NULL    | NULL          |
  | +-----------+----------+------------+---------------+----------+-------------+--------------------+--------------+------+---------+---------------+---------------------+-----------------------------------+---------+---------------+
  | 1 row in set (0.00 sec)
  | 
  | mysql> select * from jms_message_reference;
  | +-----------+-----------+---------------+-------+-------------------+----------+---------------+----------+--------+----------------+
  | | CHANNELID | MESSAGEID | TRANSACTIONID | STATE | ORD               | PAGE_ORD | DELIVERYCOUNT | RELIABLE | LOADED | SCHED_DELIVERY |
  | +-----------+-----------+---------------+-------+-------------------+----------+---------------+----------+--------+----------------+
  | |         0 |      4352 |          NULL | C     | 38361815582113792 |     NULL |             0 | Y        | NULL   |              0 |
  | |        10 |      4352 |          NULL | C     | 38361815340220416 |     NULL |             0 | Y        | NULL   |              0 |
  | +-----------+-----------+---------------+-------+-------------------+----------+---------------+----------+--------+----------------+
  | 2 rows in set (0.00 sec)
  | 
  | mysql> select * from jms_postoffice;
  | +-----------------+---------+----------------------+----------------------------+----------+------------+----------------+----------------+
  | | POSTOFFICE_NAME | NODE_ID | QUEUE_NAME           | COND                       | SELECTOR | CHANNEL_ID | IS_FAILED_OVER | FAILED_NODE_ID |
  | +-----------------+---------+----------------------+----------------------------+----------+------------+----------------+----------------+
  | | Clustered JMS   |       0 | testDistributedQueue | queue.testDistributedQueue | NULL     |          0 | N              |           NULL |
  | | Clustered JMS   |       0 | testDistributedQueue | queue.testDistributedQueue | NULL     |         10 | Y              |              1 |
  | +-----------------+---------+----------------------+----------------------------+----------+------------+----------------+----------------+
  | 2 rows in set (0.00 sec)
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011575#4011575

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011575



More information about the jboss-dev-forums mailing list