Hiram R. Chirino
7f9f040835
No need to clean up connection if it's being closed.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382960 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 23:16:53 +00:00
Hiram R. Chirino
375469bac7
disabled the inactivity monitor by default for now.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382954 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 22:54:52 +00:00
Hiram R. Chirino
44b00e9309
- Improved the delete and purge operations on a queue.
...
- Messages now removed from the message list: fixes message count < 0 problem
- Messages are now locked before they are deleted, if messages are in flight to a consumer, we don't want to delete them.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382919 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 20:07:07 +00:00
Robert Davies
9c5680c9f6
don't remove connection info from broker if the transport has failed
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382913 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 19:24:16 +00:00
Robert Davies
62c28d1b77
Added methods to create/destroy durable subscriber
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382890 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 17:20:19 +00:00
James Strachan
dc168c055b
fixed NPE
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382888 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 17:08:40 +00:00
Hiram R. Chirino
7f5213ba99
Standardize on throwing Exception instead of Throwable, we were using both forms throught the API
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382869 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 15:36:38 +00:00
James Strachan
99c1a67a28
refactor of the TcpTransport so that the timeout and buffer size can be configured via properties before the socket is used after the start() method is called.
...
this also fixes AMQ-610
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382846 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 15:02:54 +00:00
James Strachan
178515aa32
added an alternative eviction strategy
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382830 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 14:18:34 +00:00
Hiram R. Chirino
9c1a5fa6a2
bad testcase, transport was never started.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382824 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 13:59:11 +00:00
James Strachan
fa430aaae0
minor refactor to make it easier to add extra startup features
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382821 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 13:58:06 +00:00
James Strachan
062dc5681c
added better MBeans for topic subscriptions so that they can see the discarded and matched statistics. Also added a configurable MessageEvictionStrategy
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382816 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 13:56:29 +00:00
James Strachan
4dad3fc833
removed old comment
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382754 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 10:36:32 +00:00
James Strachan
bed10aac1e
allowed the maximum pending message count to be specified on the ActiveMQPrefetchPolicy or the ConsumerInfo
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382753 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 10:34:33 +00:00
Robert Davies
6d003a89e2
tidied up some of the synchronization
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382746 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 10:06:41 +00:00
Hiram R. Chirino
c916749e78
Don't use the inactivity monitor when the stomp protocol is in use.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382741 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 09:49:07 +00:00
James Strachan
e87f4c9106
reset the logging level
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382738 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 09:40:29 +00:00
James Strachan
4e28bcea8f
added example of setting the pendingMessageLimitStrategy
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382708 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 07:39:59 +00:00
Robert Davies
2867249482
log when discarding messages - and ensure we don't get npe
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382692 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 06:50:38 +00:00
Hiram R. Chirino
057cde18f9
updated groovy code genertors so that the .hpp suffix is included in the include statements.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382591 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 00:41:35 +00:00
Hiram R. Chirino
6272ddc88f
spelling fix.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382547 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 23:08:05 +00:00
Hiram R. Chirino
981cef5f84
Added test case to verify that the group id could be set using STOMP, in reference to:
...
http://forums.activemq.org/posts/list/442.page
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382544 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 22:59:55 +00:00
Hiram R. Chirino
ed5d43b04f
Added more operations to the JMX beans.
...
- broker view can now create and destroy destinations
- queue view can now copy messages to other destinations.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382532 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 22:11:25 +00:00
Hiram R. Chirino
1229c23bc4
- Implemented transpor inactivity monitoring for the tcp transport
...
- The properties set on the tcp transport can now be set on the transport sever, and the sever will configure the transports it creates with those properties.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382503 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 20:25:19 +00:00
James Strachan
95d0dec008
Patch for AMQ-606 to allow slow consumers to have their old messages discarded. For background to the issue see http://docs.codehaus.org/display/ACTIVEMQ/Slow+Consumers
...
Provides a way to set a limit on the pending messages to be dispatched to a subscription so that if that limit is reached, old messages are discarded. This will avoid the non-durable topics from getting blocked due to slow consumers
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382459 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 17:56:21 +00:00
Hiram R. Chirino
4a65a33af0
Fix for http://jira.activemq.org/jira/browse/AMQ-525
...
BooleanStream now can handle more than 64*8 bits.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382454 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 17:27:25 +00:00
Hiram R. Chirino
acce91b74e
Fix for http://jira.activemq.org/jira/browse/AMQ-578
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382439 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 16:36:42 +00:00
James Strachan
d8c086274a
updated the comments
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382434 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 16:15:58 +00:00
James Strachan
c874b21ef8
added test case for the BooleanStream together with the patch from Dave Gynn
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382428 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 16:03:17 +00:00
James Strachan
0d5de13537
added the ability to discard old messages for non-durable topics if a maximum number of pending messages is reached
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382421 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 15:56:30 +00:00
James Strachan
f1e4459644
added test case and patch for marshalling of long values which result in negative int / short values being unmarshalled
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382395 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 14:33:45 +00:00
Robert Davies
c717221cf8
added support fro browsing messages for a durable subscriber
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382393 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 14:31:05 +00:00
James Strachan
5fbce8982c
disabled test due to AMQ-583
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382359 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 11:54:59 +00:00
Robert Davies
2eae0548d8
Fixed some npe I'd just introduced
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382353 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 11:28:40 +00:00
Robert Davies
c82f6f3309
Added support for view inactive durable consumers
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382344 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 10:31:23 +00:00
Adrian T. Co
1d6fb63a95
Possible bug in computation of BooleanStream size.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382252 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 02:56:39 +00:00
James Strachan
283549bae6
Applied Mats latest patches to get the openwire-cpp code compiling
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382102 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 17:51:13 +00:00
James Strachan
2f6054959a
added test case and fix for JMSType header
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382086 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 17:19:28 +00:00
James Strachan
b5bba09207
test case and patch to ensure that the JMSXGroupID can be specified in Stomp together with testing for the use of correlation-id
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382083 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 17:05:17 +00:00
James Strachan
7f1b4644af
minor refactor to avoid strange eclipse compile error message
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382082 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 17:04:16 +00:00
James Strachan
3bf29aa062
enabled the marshalling of C++ code by default
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382081 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 17:03:28 +00:00
Jonas B. Lim
01b50e941b
added test to verify that messages sent are received in order.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382007 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 13:06:55 +00:00
James Strachan
c794f240b5
fixed broken script after hiram's method rename
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381943 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 08:29:24 +00:00
Hiram R. Chirino
d7e80d5306
Forgot to add this one.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381928 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 06:38:04 +00:00
Robert Davies
3601e813f3
Added mbeans for Subscribers
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381927 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 06:34:44 +00:00
Hiram R. Chirino
33b73ac71d
A few openwire refactors/enhancments
...
- The old/default marshaling style is now refered to tight encoding
- We now support a loose encoding style which should be less CPU intensive (it's only a 1 pass algorithim)
- prefixing the packet size is now optional (needs more testing)
- Updated the c client so that it works once again.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381926 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 06:29:45 +00:00
Darwin G. Flores
eba9e88af8
Excludes the SimpleNetworkTest in project.xml, as it caused the build process to hang in Linux platform
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381868 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 01:58:57 +00:00
James Strachan
5f5ccc0527
made it easier to copy connection factory objects
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381761 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 19:47:39 +00:00
Robert Davies
3f2c18dbfe
Added support for browsing Topics
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381645 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 12:55:57 +00:00
Robert Davies
2748ae1612
Added support for browsing Topics
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381644 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 12:55:21 +00:00
Robert Davies
695a766b5c
fix for matchesForwarding Filter (spotted by John Heitmann)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381627 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 10:43:25 +00:00
James Strachan
35e088856d
added comment - I'd have thought a Map was better?
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381612 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 09:49:25 +00:00
James Strachan
895a15761f
minor refactor
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381584 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 07:18:36 +00:00
James Strachan
b7d5fa07d1
initial spike of the code generation of the OpenWire marshalling code for C++
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381410 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 19:19:19 +00:00
Robert Davies
75af5faa5a
Enure reference count for MessageReference is always updated - if dispatched sync or async
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381328 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 12:39:06 +00:00
Robert Davies
3582300af6
Added ProducerEvent advisory support
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380795 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 19:30:49 +00:00
James Strachan
5ece545b79
Updated test cases for openwire
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380782 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 18:52:32 +00:00
James Strachan
79d28688df
latest generated OpenWire commands and marshallers - updated WireFormatInfo so that it has boolean flags for the various options like stack trace and the like (we should avoid int based bitflags going forwards now as they are harder to support in other languages and are more brittle)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380778 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 18:45:01 +00:00
James Strachan
fbb26ba7d7
refactor of the message-level security implementation so that it works with any QoS, not just queues. Also fixed bug in Message Groups where not setting the sequence ID broke the message groups
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380688 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 15:24:36 +00:00
James Strachan
a640ff5843
fix for AMQ-591 so that we can add a per message level authorization policy to allow content based authorization on a per message basis
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380684 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 15:09:34 +00:00
James Strachan
00d07b7783
made the join ability of the transport configurable so that we don't have to wait for each transport to complete
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380683 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 15:08:40 +00:00
Robert Davies
6c1d45e1fc
Add a name to a bridge - so multiple bridges between the same two brokers can be used
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380616 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 08:04:24 +00:00
James Strachan
2ce853a42d
added the auto-generation of hashcode, equals and toString methods
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380217 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 20:28:46 +00:00
James Strachan
eaafdbd69a
migrated the code generator to the latest .Net code
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380181 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 18:13:09 +00:00
James Strachan
c7fc04d026
minor refactor for easier debugging
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380180 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 18:12:31 +00:00
James Strachan
44613adf75
minor refactor for easier debugging
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380179 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 18:11:49 +00:00
James Strachan
e430412f13
added a simple main() that can be run from your IDE easily to run a broker without doing a full multi-project maven build
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380105 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 12:29:21 +00:00
James Strachan
7dca720f93
added better debug logging
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380104 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 12:28:45 +00:00
James Strachan
7e464aff59
Latest spike of the refactor of the code generation; almost done refactoing it so I can look at the C++ code shortly...
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379825 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 17:42:35 +00:00
James Strachan
54db62a395
Latest spike of the refactor of the code generation; almost done refactoing it so I can look at the C++ code shortly...
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379824 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 17:40:18 +00:00
Robert Davies
9c4223615d
updated to test durable subscriptions get propagated
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379767 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 13:28:04 +00:00
James Strachan
6f82a857c7
added the autogeneration of the C++ headers and cpp files and refactored the class generation scripts so that they are easier to work with
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379734 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 09:35:03 +00:00
James Strachan
277f3b3d5a
added extra check for null pointer exception
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379725 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 07:58:26 +00:00
Adrian T. Co
1d61be6ce2
Enabled fanout test.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379720 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 07:44:48 +00:00
Adrian T. Co
83ab261e69
Move the shutting down of the reconnectTask outside the reconnectMutex. The shutdown task may block indefinitely, while waiting for some other threads to finish iterating through the task. If the iterating thread needs to obtain the reconnectMutex (i.e. in doConnect), it won't be able to, since the shutdown task is still holding on to the lock causing a deadlock.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379717 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 07:13:27 +00:00
Jonas B. Lim
97f35c40ec
enabled back DiscoveryTransportBrokerTest. Is currently working on all CI test grid
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379702 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 06:11:44 +00:00
Hiram R. Chirino
4d00a1a311
did some more svn:eol-style property setting
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379623 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 23:28:33 +00:00
Hiram R. Chirino
a107823dc3
Did a bunch of svn:eol-style property setting
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379619 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 23:12:56 +00:00
Robert Davies
9d8f82b3c9
organized imports
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379570 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 20:09:26 +00:00
Robert Davies
1045fc0c7d
basic network tests
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379569 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 20:08:40 +00:00
Robert Davies
3155d41711
don't throw an exception if the transport is disposed
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379557 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 18:23:06 +00:00
Hiram R. Chirino
e2b83bd133
Allow configuration of the included and exluded destinations in the network connector.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379540 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 17:24:27 +00:00
James Strachan
66dd4364ea
refactored the C# code generation scripts to make them a little easier to work with
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379507 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 15:58:36 +00:00
Robert Davies
e733f71b48
added a sleep before stop
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379452 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 13:50:17 +00:00
James Strachan
6ce83ac909
autogenerated unit test cases for OpenWire now working
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379409 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 10:03:39 +00:00
James Strachan
628f9af1e1
patched code generation so that the unit tests work fine
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379406 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 10:00:17 +00:00
Robert Davies
2bc09bb764
fixed exponentialBackoff
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379397 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 09:14:07 +00:00
James Strachan
e1bdb1d89b
temporarily disabled a test case (AMQ-583) until we can verify it works on all platforms
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379074 13f79535-47bb-0310-9956-ffa450edef68
2006-02-20 10:27:41 +00:00
Robert Davies
8b572cb6b8
don't iterate forever in oneWay() if disposed (can cause some tests to hang in Connection close)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378969 13f79535-47bb-0310-9956-ffa450edef68
2006-02-19 22:15:43 +00:00
Robert Davies
b593aca5f8
fix some issues with assembly tests
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378968 13f79535-47bb-0310-9956-ffa450edef68
2006-02-19 22:14:33 +00:00
Robert Davies
97fff421f3
remove await latch call if closing a loop back network connector - this
...
should 'fix' - hanging SpringTest.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378967 13f79535-47bb-0310-9956-ffa450edef68
2006-02-19 22:13:54 +00:00
Robert Davies
8610db3e14
remove VMTransport connectors last in stop() - can prevent hanging tests
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378966 13f79535-47bb-0310-9956-ffa450edef68
2006-02-19 22:12:39 +00:00
Robert Davies
7f384b620e
synchronized around memoryTable - prevent concurrent access whilst iterating
...
for recovery
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378727 13f79535-47bb-0310-9956-ffa450edef68
2006-02-18 14:43:23 +00:00
Robert Davies
068c64639f
Add more options for networks:
...
included, excluded destinationm filters
durable destinations as well as dynamic
conduit subscriptions (multiple subs on smae matching destination are treated as one)
networkTTL = number of hops messages/subs can pass through - default = 1
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378700 13f79535-47bb-0310-9956-ffa450edef68
2006-02-18 07:20:16 +00:00
Robert Davies
f915da5772
Extended TransportListener to notify when transport is interrupted and resumed
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378699 13f79535-47bb-0310-9956-ffa450edef68
2006-02-18 07:18:01 +00:00
Hiram R. Chirino
bea3be6e01
Applyed http://jira.activemq.org/jira/browse/AMQ-582
...
Thanks Carlos! This should help our m2 build a ton.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378696 13f79535-47bb-0310-9956-ffa450edef68
2006-02-18 06:03:51 +00:00
Hiram R. Chirino
523ea5f4e7
http://jira.activemq.org/jira//browse/AMQ-568
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378642 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 22:30:59 +00:00
Hiram R. Chirino
236a1ac422
http://jira.activemq.org/jira//browse/AMQ-568
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378626 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 21:01:04 +00:00
James Strachan
f680f3ab51
fixed C marshalling generator and Java JUnit test case generator along with adding a first spike of auto-generated JUnit test cases
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378618 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 19:58:05 +00:00
James Strachan
f82bd11751
allow a message to be marked as being persistent or not
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378590 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 18:57:05 +00:00
Dennis Cook
c739dba503
Change email address
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378580 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 18:05:37 +00:00
James Strachan
73603c3d71
patch the code generation to work with the latest JNDI changes
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378493 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 12:02:35 +00:00
James Strachan
43112670da
added base class for auto-generated test cases
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378481 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 10:54:22 +00:00
James Strachan
83ec98be8a
Refactor of OpenWire code generation together with move to apache package
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378480 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 10:52:25 +00:00
James Strachan
e5959da6d7
added more metadata for openwire
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378479 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 10:50:56 +00:00
James Strachan
ba0ada4db7
fixed a typeo when trying to apply the patch for AMQ-575
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378280 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 15:34:13 +00:00
James Strachan
dba97b77c5
fix for AMQ-575 to avoid the deadlock when removing consumers, which can sometimes cause messages to be redispatched when another consumer is ack-ing a message. a good lesson this one - keep locks for as short a time as possible
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378268 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 15:06:00 +00:00
James Strachan
e82d0fb470
avoid throwing exceptions to clients if a consumer has already been closed (maybe asynchronously)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378226 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 11:21:38 +00:00
James Strachan
862c1f2138
Applied patch from haliq for AMQ-574
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378218 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 10:35:59 +00:00
Hiram R. Chirino
83825de78e
distribute activecluster with the distro
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378191 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 07:20:17 +00:00
Hiram R. Chirino
896324436a
http://jira.activemq.org/jira/browse/AMQ-505
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378145 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 02:49:48 +00:00
Hiram R. Chirino
6d333ffb4a
Just to be safe, lets also include the LICENSE.txt in the jar files.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378138 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 02:02:28 +00:00
Hiram R. Chirino
6701997522
Fixed test cases that I broke with my previous commit to this file.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378137 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 01:37:49 +00:00
Hiram R. Chirino
4843dd459c
- Refactored the StementProvider and related classes to a simpler Statements class that's easier to configure though the xbean configuration system.
...
- Added test cases that show this in use.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378119 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 23:37:40 +00:00
Hiram R. Chirino
a33f399004
Added a testcase that shows to do more detailed configuration of the JMX mangement context.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378100 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 21:39:54 +00:00
Hiram R. Chirino
f8c268df6f
Fix for http://jira.activemq.org/jira/browse/AMQ-568
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378037 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 17:09:18 +00:00
Hiram R. Chirino
11d0df6657
http://jira.activemq.org/jira/browse/AMQ-565
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378025 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 16:08:24 +00:00
Hiram R. Chirino
911177eb6c
http://jira.activemq.org/jira/browse/AMQ-564
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378023 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 15:51:11 +00:00
Hiram R. Chirino
6f99fe8271
Nullpointer exception could occur is the session is being closed at the same time that an async exception is received since it would also close the session out at the same time.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378014 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 14:57:46 +00:00
James Strachan
a8dfa1f41b
renamed to proper JAAS name rather than JASS typo
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378008 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 13:45:13 +00:00
James Strachan
affd134592
added a pure XBean based authorization and authentication mechanism
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378006 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 13:33:52 +00:00
Frederick G. Oconer
f4fc3e9a6d
Support for jdbc driver mysql-connector-java. However, this uses the DefaultJDBCAdapter.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378000 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 13:03:41 +00:00
James Strachan
9f59397aa3
refactor of the authorization plugin to make it easier to create alternative data structures for capturing the different ACLs; such as a single tree based authorization map
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377995 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 12:38:40 +00:00
James Strachan
4686ec5f0b
added a BrokerPlugin mechanism to allow users to customize the Broker interceptor stack
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377991 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 11:48:17 +00:00
Hiram R. Chirino
0f502fae3d
Fixed a few of the broken durable subscription tests.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377936 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 04:35:12 +00:00
James Strachan
6d3621e7af
fix for AMQ-502
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377768 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 17:00:08 +00:00
James Strachan
c341dc71a0
fixed up the Stomp test cases
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377766 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 16:56:15 +00:00
James Strachan
329e2f3b99
enabled logging by default of all service exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377765 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 16:54:36 +00:00
James Strachan
1b3a5939a8
fixed unsubscribe test
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377725 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 13:39:34 +00:00
James Strachan
06f44c7245
avoid unnecessary comparisons
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377724 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 13:38:09 +00:00
James Strachan
a603c40b64
added test case and support for selectors on Stomp subscriptions
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377713 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 12:55:35 +00:00
James Strachan
c4c5895d33
added test case and fix for the sending of Stomp messages with headers
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377712 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 12:43:46 +00:00
Robert Davies
f7ed407271
getDurableDestinations() now returns empty set if the persistence adaptor is null -
...
instead of throwing npe
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377701 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 11:31:56 +00:00
Alan Cabrera
84942ae5b0
Added incubation disclaimer.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377651 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 06:45:29 +00:00
Robert Davies
e7106d31b1
Set existing durable destinations on a network connector
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377421 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 16:52:03 +00:00
Robert Davies
debd0cc241
Added getDurableDestinations() to Broker - to make accessable for NetworkConnectors
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377412 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 16:31:37 +00:00
Robert Davies
f787e20139
Expose getDestinations() from the persistenceAdapator
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377397 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 15:38:10 +00:00
James Strachan
f921ef7f61
reset figures in right order to make counting more likely to be accurate by a little bit :)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377387 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 14:53:04 +00:00
Hiram R. Chirino
a71a2a5dc0
Fix for DurableConsumerCloseAndReconnectTest,
...
- The eager loading of durable subs had broken the test a little.. fixed it up now.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376861 13f79535-47bb-0310-9956-ffa450edef68
2006-02-10 21:14:53 +00:00
Hiram R. Chirino
618d1d5a88
Fixing DurableConsumerCloseAndReconnectTest:
...
Added a getter to see if the destination is a pattern
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376858 13f79535-47bb-0310-9956-ffa450edef68
2006-02-10 21:12:15 +00:00
Hiram R. Chirino
96adbc3fbb
Fixing broker DurableConsumerCloseAndReconnectTest, subscriptions were not being added to the result array.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376856 13f79535-47bb-0310-9956-ffa450edef68
2006-02-10 21:11:33 +00:00
Hiram R. Chirino
404c73bcc5
Added toString so that object is esier to view under a debugger.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376855 13f79535-47bb-0310-9956-ffa450edef68
2006-02-10 21:10:14 +00:00
Hiram R. Chirino
d86f77f462
Fixed failing ChangeSessionDeliveryModeTest test in the assembly module.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376766 13f79535-47bb-0310-9956-ffa450edef68
2006-02-10 17:06:46 +00:00
Hiram R. Chirino
68d245f4bf
Migrated to using xbean 2.2-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376445 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 21:41:59 +00:00
Hiram R. Chirino
40926586aa
Call transportFailed() only for IOException caused by the transport. Async exceptions from the broker could just mean that an async operation failed (like an async send).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376339 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 16:29:30 +00:00
Hiram R. Chirino
4f6e90108f
The QueueMasterSlaveTest and TopicMasterSlaveTest were hanging on on teardown of the test case due us issuing a transport request() that never returned. Converterted to just issuing a oneway and it seems to have fixed the issue.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376332 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 16:04:54 +00:00
Hiram R. Chirino
28ca7515c9
removed the debug printlns
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376330 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 16:03:04 +00:00
Robert Davies
6985a09ee6
allow executeBatch() in close - if not in a transaction - to release locks
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376298 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 14:08:02 +00:00
Robert Davies
b59d0b5938
Set timestamp on the broker
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376260 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 11:06:41 +00:00
Adrian T. Co
e99fc62e4a
- Added a message to the request map in failover before sending it to prevent race condition where the response tries (and fails) to remove the message before it is even added. This is to prevent double sending a message because it is still in the requestMap. (This is for the master-slave test cases)
...
- Enabled a QueueBridgeTest, this test seems to pass already.
- Some minor typo correction.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376206 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 06:43:10 +00:00
Hiram R. Chirino
1a3021beac
rollback this change since it breaks stuff.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376065 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:58:20 +00:00
Hiram R. Chirino
ef61027ad7
Added some better logging.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376048 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:24:52 +00:00
Hiram R. Chirino
a7ac415557
Added better proxy connector cleanup code.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376047 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:23:08 +00:00
Hiram R. Chirino
7e672d4150
Close the transport if for some reason the connection cannot be accepted.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376044 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:20:24 +00:00
Hiram R. Chirino
43d4e983dc
A little better logging to see when brokers are started and stopped.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376042 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:17:12 +00:00
Robert Davies
ef0127d81c
updated for compilation errors for some java platforms
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376041 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:13:33 +00:00
Hiram R. Chirino
1b9c601975
use service stopper to simplify stop() method
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376040 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:06:18 +00:00
Robert Davies
49e8a803aa
rationalize the QueueBridge/TopicBridge
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376019 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 18:26:35 +00:00
Robert Davies
d52e6ac042
support defining local address and port for a socket - e.g:
...
ssl://localhost:5666/localhost:60606
where the path (localhost:60606) - defines the local address and local port
For jira issue: AMQ-529
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375923 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 11:03:02 +00:00
Robert Davies
36a2bdc519
receive() returns null on connection transport failure
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375721 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 21:40:23 +00:00
Hiram R. Chirino
e6f5d3026e
- Implemented http://jira.activemq.org/jira/browse/AMQ-511
...
- Queues can now be browsed, messages deleted, or queue can be purged.
- Added initial hooks to expose subscriptions for JMX managment.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375654 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 18:34:21 +00:00
Robert Davies
db747b49d9
fix for usecase: ThreeBrokerQueueNetworkUsingTcpTest.java
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375598 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 13:34:12 +00:00
Adrian T. Co
7fa8660c7e
- Move AMQ command console to separate module (activemq-console)
...
- Move Main.java to console module
- Move maven goal "run:broker" from core to console.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375519 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 06:48:24 +00:00
Adrian T. Co
f6735ea870
Fix typo in method name.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375179 13f79535-47bb-0310-9956-ffa450edef68
2006-02-06 05:16:33 +00:00
Robert Davies
6ea186cf65
seperate inbound and outbound message convertors
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375088 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 19:58:14 +00:00
Robert Davies
bf8f99b51d
remove System.err println
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375087 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 19:56:10 +00:00
Robert Davies
641140ebab
Forced to copy message before leaving the consumer - as the destination could change if
...
the message is forwarded on.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374795 13f79535-47bb-0310-9956-ffa450edef68
2006-02-04 00:35:53 +00:00
Robert Davies
e1bc55dafe
separate JndiTemplate into local and outbound
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374729 13f79535-47bb-0310-9956-ffa450edef68
2006-02-03 19:22:40 +00:00
Frederick G. Oconer
82d60e1291
make Serializable to prevent NotSerializableException in weblogic (AMQ-501) - Patrick Villacorta
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374605 13f79535-47bb-0310-9956-ffa450edef68
2006-02-03 08:48:25 +00:00
Robert Davies
a1c4eb6d48
return IntegerResponse from prepareTransaction()
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374309 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 08:56:23 +00:00
Guillaume Nodet
3a0358ee17
Fix threading problems in the DemandForwardingBridge.java
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374292 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 07:47:16 +00:00
Robert Davies
d517eebfbc
put back default Constructor on NetworkConnector - for now.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374288 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 06:54:17 +00:00
Frederick G. Oconer
9e4779964d
excluded ProxyConnectorTest because it hangs.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374277 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 06:03:36 +00:00
Robert Davies
4d9ab0cffc
Added setter for the MBeanServer
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374137 13f79535-47bb-0310-9956-ffa450edef68
2006-02-01 18:26:36 +00:00
Robert Davies
7f634906d0
log execption and fire to exception listener if exception thrown
...
in run() method
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374101 13f79535-47bb-0310-9956-ffa450edef68
2006-02-01 16:28:57 +00:00
Robert Davies
e62711760b
corrected javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374064 13f79535-47bb-0310-9956-ffa450edef68
2006-02-01 13:37:28 +00:00
Robert Davies
5a429d90bb
Fixes for networks and the invalid Brokers caper
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373863 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 16:35:13 +00:00
Robert Davies
3e7ebc2368
Add a check to the iterate() so that on failover - it's not possible
...
to iterate for ever if the transport has actually been stopped
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373862 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 16:31:21 +00:00
James Strachan
2ae7169856
removed possible NPE
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373809 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 12:33:44 +00:00
James Strachan
e6747ead95
patch and test case for AMQ-514 to make BrokerInfo and the broker name visible to an ActiveMQConnection
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373548 13f79535-47bb-0310-9956-ffa450edef68
2006-01-30 16:59:01 +00:00
James Strachan
9c0d3ce072
added better debug tracing so that destinations are explicit in whether they are a queue or topic
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372952 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 19:33:21 +00:00
Robert Davies
233b604642
check if a broker held by the TransportConnector is stopped before asigning it for re-use (i.e. VMTransportServer)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372910 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 17:00:26 +00:00
Gregory John Wilkins
6a70920b20
notify listener after the enqueue
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372844 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 13:31:17 +00:00
James Strachan
2f944a19e3
added fix for issue reported on forum: http://forums.activemq.org/posts/list/0/60.page
...
where on startup we get the following exception when using mysql
java.io.IOException: Can't call commit when autocommit=true
at org.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:44)
at org.activemq.store.jdbc.TransactionContext.close(TransactionContext.java:113)
at org.activemq.store.jdbc.JDBCPersistenceAdapter.getAdapter(JDBCPersistenceAdapter.java:253)
at org.activemq.store.jdbc.JDBCPersistenceAdapter.start(JDBCPersistenceAdapter.java:140)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372805 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 10:16:16 +00:00
James Strachan
8fbbd24122
fixed typeo
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372800 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 10:02:05 +00:00
James Strachan
3d18a3dc7b
made the adapter class configurable on the <journaledJDBC adapterClass="...."/>
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372799 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 09:57:38 +00:00
James Strachan
40ce55be77
added extra NPE check
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372519 13f79535-47bb-0310-9956-ffa450edef68
2006-01-26 12:40:12 +00:00
Frederick G. Oconer
a9d3883dc8
commented out goal that override the jar:deploy. This causes error when deploying the jar in the dist repository.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372437 13f79535-47bb-0310-9956-ffa450edef68
2006-01-26 04:49:28 +00:00
Robert Davies
afcefa0111
Added durable topic test for master/slave
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372300 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 20:06:17 +00:00
Frederick G. Oconer
9a699a4d06
correction on artifact name given for xsd deploy goal.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372090 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 03:42:36 +00:00
Robert Davies
8b04e15826
Fixes for Master-Slave functionality
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372050 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 23:08:29 +00:00
Hiram R. Chirino
b2039fb1c2
Fix for https://jira.logicblaze.com/jira/browse/AMQ-494
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371949 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 16:02:42 +00:00
Robert Davies
fd156f833a
send back responses
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371910 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 13:34:59 +00:00
Adrian T. Co
4b8822f154
- Added task to browse a queue for messages that includes the ability to query for selected messages only, and specify the properties to view. (Still considering adding one for topics too)
...
- Redesigned the querying mechanism to allow easy insertion and/or extension of specific querying filters
- Redesigned the output mechanism to allow easy inclusion of different output formatters (i.e. output in command shell friendly format, script friendly format, xml format, etc.)
- Currently have just included a not-so-friendly command shell formatter. :) Have plans to modify this and maybe include an xml formatter and/or script friendly formatter.
PS: I plan to move the console package outside activemq-core and include some unit tests with it sometime in the very near future. I know its kinda messy right know. :)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371880 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 10:23:34 +00:00
Dennis Cook
f9a763586a
AMQ-500 reconciled windows start script with o.a.a.broker.Main
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371767 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 01:38:07 +00:00
Hiram R. Chirino
d2d1c6d63d
The Transport Connection now notifies it's Connector of lifecycle events so that the Connector does not have to wrap the broker in yet another filter to notice the connection's lifecycle events.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371636 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 19:40:42 +00:00
Hiram R. Chirino
1c64baadea
Disabling StompTest see https://jira.logicblaze.com/jira/browse/AMQ-502
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371600 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 17:18:33 +00:00
Robert Davies
71afa0ded9
removed sleep from stop() method
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371590 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 16:48:10 +00:00
Hiram R. Chirino
c3c0ea7265
Applied patch reported by christopher.kingsbury@gmail.com
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@370926 13f79535-47bb-0310-9956-ffa450edef68
2006-01-20 23:14:35 +00:00
Hiram R. Chirino
ef94b843cc
removed unused line
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@370901 13f79535-47bb-0310-9956-ffa450edef68
2006-01-20 21:35:09 +00:00
Robert Davies
5b2e9be749
added messageSent() method - so can hook in failure tests in derived unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@370330 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 00:34:52 +00:00
Robert Davies
4098942c1e
Added master/slave functionality to the Broker
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@370223 13f79535-47bb-0310-9956-ffa450edef68
2006-01-18 19:16:58 +00:00
Jonas B. Lim
377780985c
added additional test cases for the other stomp verbs/features
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@370081 13f79535-47bb-0310-9956-ffa450edef68
2006-01-18 09:10:49 +00:00
Alan Cabrera
85402ce387
Clean up
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@370004 13f79535-47bb-0310-9956-ffa450edef68
2006-01-18 01:54:51 +00:00
Dennis Cook
d3aa9bf2be
Allow defeat of auto include of $ACTIVEMQ_HOME/conf in classpath (after refactor)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@369868 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 19:05:51 +00:00
Adrian T. Co
b9a4deed5d
- Made ActiveMQConnectionFactory and ActiveMQDestination referenceable.
...
- Ported to 4.x the jndi implementation from 3.x (JNDIStorableInterface, JNDIBaseStorable, JNDIReferenceFactory)
- Added a simple test case to test the object factory.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@369411 13f79535-47bb-0310-9956-ffa450edef68
2006-01-16 09:58:02 +00:00
Hiram R. Chirino
91bc5609f4
- fix test dependency
...
- and echo when the test jar is installed
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@369320 13f79535-47bb-0310-9956-ffa450edef68
2006-01-16 03:01:24 +00:00
Hiram R. Chirino
23334ff9a6
Protect against recursing.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@369174 13f79535-47bb-0310-9956-ffa450edef68
2006-01-15 03:41:03 +00:00
Hiram R. Chirino
a0adce9cb5
Updated poms so that we use the incubator-apache group id so that folks can clearly tell that we are still in the incubator
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@369097 13f79535-47bb-0310-9956-ffa450edef68
2006-01-14 21:27:28 +00:00
David Blevins
c7e4ad74c9
Don't need that dep
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368961 13f79535-47bb-0310-9956-ffa450edef68
2006-01-14 02:33:26 +00:00
Adrian T. Co
2ddd372cad
Added initial implementation to make ActiveMQConnectionFactory and ActiveMQDestination referenceable.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368957 13f79535-47bb-0310-9956-ffa450edef68
2006-01-14 02:10:14 +00:00
Hiram R. Chirino
982a119ba6
Renamed the *Task stuff to *Command, the Main method now just only calls the DefaultCommand, which delegates to the other commands.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368942 13f79535-47bb-0310-9956-ffa450edef68
2006-01-14 01:08:12 +00:00
Dennis Cook
4d7ea5ef6e
Allow defeat of auto include of $ACTIVEMQ_HOME/conf in classpath
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368924 13f79535-47bb-0310-9956-ffa450edef68
2006-01-13 23:55:19 +00:00
Dennis Cook
eef9202675
AMQ-484: Restore discoveryUri when replacing TransportConnector with ManagedTransportConnector
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368911 13f79535-47bb-0310-9956-ffa450edef68
2006-01-13 23:11:20 +00:00
Adrian T. Co
70c2d886d1
Refactored the main class to several task class and use the main class to bootstrap each task.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368560 13f79535-47bb-0310-9956-ffa450edef68
2006-01-13 02:52:57 +00:00
Hiram R. Chirino
7a7496c841
Maven 1 pom changes so that we cen start deploying to the apache maven repository.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368463 13f79535-47bb-0310-9956-ffa450edef68
2006-01-12 20:43:53 +00:00
Robert Davies
af9f61015d
Adding some changes to support master/slave
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368075 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 18:15:13 +00:00
Adrian T. Co
1a9d2862a4
- Added two broker test where each broker has a client that connects and disconnects and the destination is a queue
...
- Minor updates to some of the test cases and test support
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367958 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 07:43:05 +00:00
James Strachan
da77d2c649
fix to allow a foreign JMS message ID to be set on an ActiveMQMessage
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367741 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 19:14:01 +00:00
Hiram R. Chirino
ffad45edff
Fix for https://jira.logicblaze.com/jira/browse/AMQ-470
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367724 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 18:42:30 +00:00
Hiram R. Chirino
a7785c6a54
- make the group sequences 0 based to match producer message sequences which are also 0 based
...
- fixed bucket hashing method to handle cases where the group id hashes to a negative number.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367676 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 16:33:13 +00:00
Hiram R. Chirino
6397d0560b
pass on async exceptions to the Exception listener
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367673 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 16:28:24 +00:00
James Strachan
2ba813b311
added support for Throwable in OpenWire.Net
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367640 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 15:26:51 +00:00
James Strachan
dfb9c82114
disabled auto-generation of more hand-crafted commands
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367606 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 13:59:47 +00:00
Robert Davies
fb53ad9cf3
applied proper fix for AMQ-464
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367598 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 13:36:55 +00:00
James Strachan
434c38ff94
refactored packages of OpenWire.Net
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367569 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 11:29:06 +00:00
James Strachan
c3a767b21e
further cleaning up of the OpenWire protocol now that the FooId classes all now have value properties called "value"
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367565 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 10:55:01 +00:00
Adrian T. Co
aa7435064a
Called super.setUp and super.tearDown. To ensure auto fail is called.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367489 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 05:21:19 +00:00
Patrick Edward Lapus Villacorta
a9e047d92e
Add auto fail support when test hangs
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367460 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 02:00:27 +00:00
Hiram R. Chirino
f2669a70a6
don't close the connection on a async error since we are not sure that it was connection failure. It may just have been a failed operation (security constrain or something).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367409 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 21:55:53 +00:00
Hiram R. Chirino
b2f4fc6af9
re-ran the openwire generation script
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367349 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 18:10:44 +00:00
Hiram R. Chirino
c59246d5ed
- Changed the command id objects so that they do not use fields that have the same name as the class (for the .net folks)
...
- Added a ConnectionError command that can be used to notify a connection of async errors associated with the connection.
-
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367341 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 17:21:52 +00:00
James Strachan
42ec94a247
Latest generated Java code
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367322 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 16:08:51 +00:00
James Strachan
fd32d5612c
updated the C# generation scripts to create valid C# code
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367310 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 14:58:16 +00:00
James Strachan
4afa5d6f09
added the numeric values from CommandTypes to the annotations for generation of other languages
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367276 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 11:31:05 +00:00
Adrian T. Co
fa63d9091f
Minor change to toString and System.out
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367254 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 09:40:06 +00:00
Adrian T. Co
579a1d4130
- Added test cases for multiple brokers
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367253 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 09:39:12 +00:00
Adrian T. Co
52aeaa2965
Fix splitting of components.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367158 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 01:50:28 +00:00
James Strachan
10681a29b8
nearly building OpenWire.Net; much closer now
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366723 13f79535-47bb-0310-9956-ffa450edef68
2006-01-07 13:46:58 +00:00
James Strachan
034949a481
use helper methods to read the primitive nested types like BrokerId
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366551 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 19:18:02 +00:00
James Strachan
2942846abc
closer to compilable OpenWire.Net classes
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366549 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 19:11:45 +00:00
James Strachan
d51d772352
more fixes for OpenWire.Net; getting close to compiling :)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366542 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 17:53:56 +00:00
James Strachan
ccd1113a79
updated OpenWire.Net generation script
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366539 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 17:31:28 +00:00
James Strachan
606bba7b1e
first spike at getting the OpenWire.Net to work; also upgraded to latest groovy
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366534 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 17:11:53 +00:00
Adrian T. Co
6285f96b15
Reset checking for successful test every test setUp.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366443 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 07:13:28 +00:00
Adrian T. Co
d265b31385
Wrong size read causing hangup.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366398 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 03:04:54 +00:00
Hiram R. Chirino
04968b6811
We now optimize out persisting persistent messages to a topic if it does not have any durable consumers.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366274 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 20:39:41 +00:00
Hiram R. Chirino
013f37294e
- Refactored out introspection based toString() logic to the IntrospectionSupport class
...
- Durable subscriptions are now eagerly loaded when a topic is created.
- Fixed the *TransactionTest
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366220 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 17:09:05 +00:00
James Strachan
d7f91463d6
enabled the hash bucket based implementation of MessageGroupMap by default and made the bucketCount configurable in the destination policy map
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366208 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 15:58:49 +00:00
James Strachan
e1d4780221
minor refactor to allow pluggable MessageGroupMap implementations so that we don't have to keep around every single GroupID in RAM if we don't want to (which could very easily become a RAM leak) and can use a provider which uses hashbuckets instead.
...
added an initial implementation of a hashbucket based MessageGroupMap which should be fine; am waiting on a unit test run to complete before I dare enable it by default :)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366204 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 15:36:07 +00:00