Hi Howard!
I investigated my problem more deeply.
First I have to say, that the OrderingGroup of bridged messages are overwritten by the
setting in the connection factory.
Not that nice I think.
So I send a message with ordering group G1 to a Queue. This message is bridged to another
server where ordering group attributes are set at the connection factory to group
GDefault. Then the messages have the group GDefault iso G1.
Bug or a feature :-) ?
Second:
I have added some tracing to the OrderingGroupMonitor to see what is registered and what
completed.
While my server starts up it loaded the first 20 paged messages and adds them to the
OrderingGroupMonitor. Then it starts handling the messages and calls completed on the
Monitor, which removed the ref from the group.
After 5 messages are handled the JDBCPersistenceManager loads the next 5 paged messages
and adds them.
That behaviour is fine!
But if a message is added to the queue (new message comes in) which have the same
orderinggroup, this is registered too on the Monitor. But the message itself is added to
the DownCache.
This seams to be a bug or?
If a message is added to a "full" queue which is paged then this should not be
registered to the monitor, or?
Maybe this is the reason, why the delivery stops....
The behaviour you can see below:
| 20 times registering:
|
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740253458432' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740257849345' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740259258370' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740260470787' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740261191684' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740262076421' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740262600710' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740263747591' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740264697864' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740265484297' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740267089930' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740268236811' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740269252620' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740270006285' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740270530574' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740272136207' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740273217552' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740274888721' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740275707922' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
| 11:28:50,359 TRACE @main [org.jboss.messaging.core.impl.OrderingGroupMonitor]
restistered MID '41154740276363283' for OrdGrp 'IMSDefaultGroup' and
Destination 'incomingSyncRequests'
|
| //Bridge starts adding messages from another server (BUG?)
| 11:29:08,828 TRACE @WorkerThread#2[10.4.16.38:1529]
[org.jboss.messaging.core.impl.OrderingGroupMonitor] restistered MID
'41154743382081536' for OrdGrp 'IMSDefaultGroup' and Destination
'incomingSyncRequests'
| 11:29:09,031 TRACE @WorkerThread#2[10.4.16.38:1529]
[org.jboss.messaging.core.impl.OrderingGroupMonitor] restistered MID
'41154743382966273' for OrdGrp 'IMSDefaultGroup' and Destination
'incomingSyncRequests'
| 11:29:09,109 TRACE @WorkerThread#2[10.4.16.38:1529]
[org.jboss.messaging.core.impl.OrderingGroupMonitor] restistered MID
'41154743383293954' for OrdGrp 'IMSDefaultGroup' and Destination
'incomingSyncRequests'
|
| // first message is send
| 11:29:10,000 TRACE @Thread-27 [org.jboss.messaging.core.impl.OrderingGroupMonitor]
marked sending MID '41154740253458432' for OrdGrp 'IMSDefaultGroup'
|
| // other are added meanwhile
| 11:29:10,203 TRACE @WorkerThread#0[10.4.16.38:1523]
[org.jboss.messaging.core.impl.OrderingGroupMonitor] restistered MID
'41154743387783179' for OrdGrp 'IMSDefaultGroup' and Destination
'incomingSyncRequests'
| 11:29:10,421 TRACE @WorkerThread#0[10.4.16.38:1523]
[org.jboss.messaging.core.impl.OrderingGroupMonitor] restistered MID
'41154743388667916' for OrdGrp 'IMSDefaultGroup' and Destination
'incomingSyncRequests'
| 11:29:10,718 TRACE @WorkerThread#0[10.4.16.38:1523]
[org.jboss.messaging.core.impl.OrderingGroupMonitor] restistered MID
'41154743389880333' for OrdGrp 'IMSDefaultGroup' and Destination
'incomingSyncRequests'
|
| // first message completed
| 11:29:13,781 TRACE @WorkerThread#0[10.4.16.38:1523]
[org.jboss.messaging.core.impl.OrderingGroupMonitor] completed MID
'41154740253458432' for OrdGrp 'IMSDefaultGroup' and Destination
'incomingSyncRequests'
|
| // second marked sending...
| 11:29:13,781 TRACE @WorkerThread#0[10.4.16.38:1523]
[org.jboss.messaging.core.impl.OrderingGroupMonitor] marked sending MID
'41154740257849345' for OrdGrp 'IMSDefaultGroup'
| and so on.
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252261#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...