James Strachan
4446d55d30
added a working UDP server with test cases
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384603 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 20:26:47 +00:00
James Strachan
4f446eb025
initial spike of UDP server transport with some test cases (some of which are commented out as they are not quite working yet)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384569 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 18:06:32 +00:00
James Strachan
22bb1bdd41
added helper method
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384568 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 18:02:47 +00:00
Robert Davies
6c0df67be6
tidied up subscription objectNames
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384492 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 11:22:26 +00:00
James Strachan
5371cf5e64
minor refactor of a property and exposed the selector as an MBean attribute. the selector can actually be updated in real time via JMX for non-durable topic subscriptions for AMQ-625
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384486 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 10:49:37 +00:00
James Strachan
b86da466e6
disabled some failing test cases until we can fix 'em
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384479 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 10:11:43 +00:00
James Strachan
346cdc5744
added test for copy() method
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384459 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 08:25:03 +00:00
Hiram R. Chirino
46ad8c2d71
Enabled CLS compliance again and fixed some of the comment positioning.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384457 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 08:19:01 +00:00
James Strachan
cedc2fb891
added an implementation of ActiveMQXAConnectionFactory for AMQ-624
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384454 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 07:42:26 +00:00
Hiram R. Chirino
c40f989966
Refactored the .NET client so that all the JMS references are NMS. Figured Sun would not be happy if we called this JMS.
...
also tweeked the m2 poms a little
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384452 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 07:11:37 +00:00
Hiram R. Chirino
c4e99fe48b
- Fix NPE due to JMX problem
...
- Made the maven setting a little more eclipse freindly.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384438 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 05:41:08 +00:00
Hiram R. Chirino
6583ef1821
I wish I could have commited this in smaller chunks
...
- Added support for the openwire loose encoding to the .NET port
- Fixed the InactivityMonitor, it was timing out conections too often and testcase for it would fail intermitently
- Improved the wire format option negociation phase.
- We now gaurd to sending the WireformatInfo, so it's only sent once even if the start method is called multiple times.
- We now wait for the WireFormatInfo to be sent before reconfiguring the WireFormat with the new negociated options
- Option negociation is now simpler to understand:
- The WireFormatInfo is allways sent with all options turned off
- Once WireFormatInfo's are exchanged, we enable the options on the WireFormat that both sides enabled.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384390 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 00:41:39 +00:00
Robert Davies
cbd5960e5a
shorten subscription name
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384297 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 18:16:33 +00:00
James Strachan
6c0fae01de
added working test case for the use of Broker, Queue, Topic MBeans
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384274 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 17:25:56 +00:00
James Strachan
138d9cfffa
added MBean unit test case
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384256 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 16:27:25 +00:00
Hiram R. Chirino
5d9d499e66
Fix so that we can get the messages.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384255 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 16:27:16 +00:00
James Strachan
2cd143782a
added a ReplayCommand to OpenWire for re-requesting dropped datagrams/commands and regenerated the openwire classes
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384231 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 15:15:11 +00:00
James Strachan
08f4639d5e
added spike of a UDP server together with applying the transport refactorings to the UDP transport
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384225 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 14:44:35 +00:00
James Strachan
11c37a7be5
added fix for NPE when adding durable subscribers
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384223 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 14:36:35 +00:00
James Strachan
436fe42778
minor refactor to use "stopped" and "stopping" as properties on ServiceSupport and the transport classes. Also made the TransportListener getter visible and avoided the need for protected variables in the various TransportFilter implementations (due to inlining, often getter methods are faster in hotspot than access to protected fields, plus it simplifies the code & makes it less brittle)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384220 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 14:10:27 +00:00
James Strachan
11be076ac9
refactor to move the useful code for dealing with start/stop lifecycles and the start, closed, closing properties into the base ServiceSupport class
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384208 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 13:09:17 +00:00
James Strachan
8568d6ee05
minor refactor to make it easier to override starting
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384193 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 12:09:49 +00:00
James Strachan
534ea690ff
allow the transport to be closed before we try and send remove commands to it without generating an exception
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384189 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 11:47:09 +00:00
James Strachan
dba3ea8d0e
enable JMX by default
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384187 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 11:44:45 +00:00
James Strachan
8d36b4c751
patch test case to explicitly disable JMX
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384186 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 11:44:28 +00:00
James Strachan
d47ce01a85
deal with mbeans being already unregistered gracefully
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384185 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 11:44:06 +00:00
James Strachan
8776a4154e
added helper method to create non-persistent output streams together with added more javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384173 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 10:14:44 +00:00
Adrian T. Co
5628c2d94b
Use the backport library to fix the compile error in Java 1.4.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384162 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 09:15:08 +00:00
Hiram R. Chirino
ead505da98
Fixed transport testcase so that it does not fail anymore. tcp transport was being stopped and then oneway was being called on it, and it was throwing an unexpected illegalstate exception witched to ioexception and all was better.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384001 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 20:33:02 +00:00
James Strachan
05b81ba8be
Added test case for UDP
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383984 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 19:52:50 +00:00
James Strachan
187f884b58
added test case demonstrating UDP transport working
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383981 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 19:49:23 +00:00
James Strachan
f8e1c0ebe5
added helper methods for NIO/AIO/UDP based transports
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383980 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 19:48:02 +00:00
Hiram R. Chirino
b2ad8fa833
Support naming all the connectors so that JMX object names are easier to view.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383972 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 19:25:05 +00:00
Hiram R. Chirino
c977f7ddfc
support destination options on a stream consumer.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383971 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 19:24:15 +00:00
Hiram R. Chirino
5ff3487b2f
renamed matched to pending.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383969 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 19:18:28 +00:00
Hiram R. Chirino
3b0377cfaf
Test case and fix for http://jira.activemq.org/jira/browse/AMQ-618
...
Robert Newson, great job finding and putting together a test case for this.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383957 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 18:59:41 +00:00
James Strachan
1c5ecb36d3
added a default implementation of BufferPool and a default replay strategy
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383918 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 16:24:05 +00:00
James Strachan
fcd06b2077
add the data size to datagram headers
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383894 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 14:12:11 +00:00
James Strachan
eba4c9cfa8
initial spike of a UDP based transport - completely untested so far :)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383893 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 14:06:59 +00:00
Robert Davies
560763a603
delete db messages on start-up
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383853 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 11:49:28 +00:00
James Strachan
9c2185b826
set default timeout value of 30s
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383832 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 09:54:09 +00:00
James Strachan
c2123e3b1b
allow a connectionTimeout to be specified on a socket for AMQ-607
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383831 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 09:47:25 +00:00
James Strachan
3cd3fd364e
added extra check to make sure all MBeans are unregistered on a stop() call to ensure that AMQ-585 is fixed
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383828 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 09:25:05 +00:00
Hiram R. Chirino
07d4e8c63d
- A bunch of JMX related tiding up.
...
- Added a sendTextMessage() method to the DestinationView so that a JMX console can send a test message to a destination.
- Renamed a few bean properties so that they would be more consistent:
- use get*Counter for properties that keep incrementing
- use get*QueueSize for poperties that repesenet the size of list in broker.
- the gc() method on the broker is now the only one expose
- the CachedMessageCount is not exposed anymore.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383815 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 07:39:51 +00:00
Hiram R. Chirino
cd0fb615de
Adjusted openwire generators
...
- Got .NET working again after bing WireFormat change
- Fixed generated indenting for the java and csharp stuff.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383767 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 04:14:27 +00:00
Hiram R. Chirino
446629bba0
- Since we WireFormatInfo needs to be flexible and extensible so that feilds can be added witout changing it's on the wire encoding, we are now using a primitive map to store it's data.
...
- Extracted the NetworkBridgeFilter out of the Demand based forwarding bridge and made it a serializable class so that a bridge can be used with a remote broker.
- Cleaned up many of the warnings gram was spewing out by having it suck in more files.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383749 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 02:32:50 +00:00
James Strachan
d5193d217f
increased timeout to ensure test always works
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383632 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 19:37:37 +00:00
James Strachan
d9b9427a5f
added fix for AMQ-519 so that we explicitly force the redelivered message to be deserialized again for ObjectMessage instances to avoid mutable objects being changed, then rolled back
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383627 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 19:10:32 +00:00
James Strachan
900f6e9de1
added better exception message
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383565 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 15:33:43 +00:00
Hiram R. Chirino
db9144a985
Protect against cache overwrites.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383546 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 14:25:36 +00:00
Hiram R. Chirino
c3e10f5438
updated hashCode and equals to pickup new fields.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383545 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 14:10:43 +00:00
Hiram R. Chirino
b665f18730
Better cache eviction in place.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383544 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 14:06:13 +00:00
James Strachan
d666be05f9
added test case and patch for AMQ-617
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383541 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 13:53:11 +00:00
Hiram R. Chirino
120f77dad0
return true if the copy works.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383530 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 13:27:39 +00:00
James Strachan
3d96abcc93
added extra test to ensure that the transport instance is fully started before attempts are made to use the transport
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383523 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 12:12:53 +00:00
James Strachan
204e940809
added helper method
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383516 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 11:18:24 +00:00
Robert Davies
6cb66e4865
PolicyMap not initialized by XBean/Spring when Broker constructed for Transports.
...
Chanhed so PolicyMap is lazily fetched from the BrokerService by the RegionBroker
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383486 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 07:25:51 +00:00
Robert Davies
6892f8ca04
Added slow consumer test
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383485 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 07:24:16 +00:00
Hiram R. Chirino
e0a2b8eab7
Updated openwire generation scripts so that they produce file with consistent newlines even on windows.
...
Updated dotnet generator due to refactor
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383296 13f79535-47bb-0310-9956-ffa450edef68
2006-03-05 08:49:13 +00:00
Hiram R. Chirino
42ac3f1afc
include tools.jar in the Gram classpath, since that's where javadoc classes are. If java home is not the JDK, this may not work.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383064 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 06:56:39 +00:00
Hiram R. Chirino
477984fd4f
simplified a little.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383040 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 05:27:32 +00:00
Hiram R. Chirino
0bba31190e
organized imports.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383015 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 03:42:22 +00:00
Hiram R. Chirino
c60ac2ff62
Fixing up http://jira.activemq.org/jira/browse/AMQ-615
...
- We now close the consumers created by a pooled session when the session is closed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383014 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 03:41:51 +00:00
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
Hiram R. Chirino
71bd33d3ec
Fix SQL statement.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366203 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 15:35:45 +00:00
James Strachan
ab1d1afc1c
fixed test case to close down the connection in between test cases to avoid duplicate clientID exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366199 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 15:23:18 +00:00
Robert Davies
ef3b50e18b
when sending - use quality of service applicable to message and subscriber
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366191 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 14:58:35 +00:00
James Strachan
95a2aa6b8f
fixed reconnection test which was creating a new connection with a client ID before closing the previous one which threw the InvalidClientIDException
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366188 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 14:48:09 +00:00
Robert Davies
c68a1460ba
Fix for AMQ-464
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366176 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 13:04:31 +00:00
James Strachan
f0454b1e88
part of the fix for AMQ-286 to allow the redelivery policy to be configured on a consumer
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366170 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 12:21:24 +00:00
James Strachan
c5b3802c61
made it easy to copy a RedeliveryPolicy
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366151 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 10:43:17 +00:00
Adrian T. Co
34cadafaab
Change subtractive query to use -xQ and --xobjname instead of !. Having trouble using ! in linux.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366145 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 10:04:04 +00:00
Adrian T. Co
04e2cdcf3f
- Added wildcard searching using query. (i.e. -QTopic=*Advisory*, -QQueue=TEST.???)
...
- Added subtractive searching using query. (i.e. query -QTopic=* -Q!Topic=ActiveMQ.Advisory.*) will get all topics, but filter out advisory topics.
- Added querying using similar to object name format. (i.e. query --objname Type=*Connect*,BrokerName=BROKER_1 --objname !Type=NetworkConnector) will select all connection and connector belonging to BROKER_1. It will filter out all network connectors.
- Performed a little code restructuring.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366120 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 08:26:37 +00:00
James Strachan
c8d74e7113
removed RedeliveryPolicy from openwire and moved into the client package
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366118 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 08:22:59 +00:00
Hiram R. Chirino
9b64c37c4c
Added a SubscriptionInfo[] getAllSubscriptions() to the TopicMessageStore. We will need this if we want to eagerly load the durable subs when the broker starts up.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365993 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 21:09:16 +00:00
Hiram R. Chirino
27329abdcb
don't log a message when the WireFormatInfo comes in from the other side.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365966 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 18:41:16 +00:00
Hiram R. Chirino
e6efdb1955
Fix the security test.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365965 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 18:39:23 +00:00
Hiram R. Chirino
c0edaf0532
Use the jdbc catalog to avoid displaying warning messages on startup when the activemq tables allready exist.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365954 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 17:40:32 +00:00
Hiram R. Chirino
3852a53f3e
use "Topic." rather than "topic://" as the separator when making advisories. This makes it easier for folks to use * notation.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365941 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 16:49:43 +00:00
James Strachan
de231491a7
added test case and fix for AMQ-463 to test for duplicate clientIDs connecting
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365917 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 14:42:24 +00:00
James Strachan
c62a775af4
added more edge cases to the DestinationMap test case
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365890 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 10:53:14 +00:00
James Strachan
8b28367f3d
fixed the DestinationMap so that it can hold queues and topics with the same name without intermixing the two trees
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365888 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 10:42:21 +00:00
James Strachan
0a8efc977b
added test case to show the use of individual dead letter strategy via XML
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365885 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 10:32:07 +00:00
James Strachan
8f22cfa4fc
make destinations sortable
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365883 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 10:31:15 +00:00
James Strachan
664b534be5
fixed edge cases in DestinationMap
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365882 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 10:30:40 +00:00
Adrian T. Co
6cbd6d2e8d
Added adding of started broker to lists of brokers.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365876 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 09:58:35 +00:00
Adrian T. Co
b70c8d1cb2
Re-included the means to prevent the main thread from exiting until the vm is exited elsewhere (either Ctrl+C, terminateJVM, etc.)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365865 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 08:48:41 +00:00
Hiram R. Chirino
050637cdf6
use the BrokerFactory to create BrokerService objects
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365746 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 21:01:10 +00:00
Hiram R. Chirino
6027d2aee9
generated resources were not being copied to target/classes
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365740 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 20:47:18 +00:00
Hiram R. Chirino
7dbbe0c854
Fix test case
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365713 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 18:55:54 +00:00
Hiram R. Chirino
a4618caf0c
better pom for m2
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365712 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 18:54:54 +00:00
Hiram R. Chirino
d9987ffd31
The roundrobin test was failing on slow machines because the prefetch size was too small so the round robined
...
distribution was not equals since the slow consumer's prefetch window would fill up and other consumers would
unevenly get more messages.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365537 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 04:35:23 +00:00
Hiram R. Chirino
161448a5e3
The SimpleDispatchPolicyTest and RoundRobinDispatchPolicyTest were failing on my single proc powerbook.
...
The parent of the MessageIdList was being called before the clild had processed the message which
cause the test to not wait till the childeren had processed the messages so tests would fail
due to short counts.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365367 13f79535-47bb-0310-9956-ffa450edef68
2006-01-02 16:05:31 +00:00
Hiram R. Chirino
ef64a25b9f
Better test setup
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365280 13f79535-47bb-0310-9956-ffa450edef68
2006-01-02 02:50:00 +00:00
Hiram R. Chirino
6bdfbf3d73
This fixes the timing issues that the RecoveryBrokerTests were having.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365277 13f79535-47bb-0310-9956-ffa450edef68
2006-01-02 02:12:56 +00:00
Hiram R. Chirino
61ab31e758
imporoved the advisory message being sent by topics when no consumer is listening:
...
- It sends it non transactional
- It does does not block due to flow control
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360329 13f79535-47bb-0310-9956-ffa450edef68
2005-12-31 16:50:52 +00:00
Hiram R. Chirino
77dd8fb71d
use a tighter wait() based on the remaining time
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360323 13f79535-47bb-0310-9956-ffa450edef68
2005-12-31 16:48:55 +00:00
Hiram R. Chirino
14f96a9e6f
The testcase would wait for all the messages to arrive. But in the topic case the total number of messages computed was wrong and the test would not wait long enough.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360318 13f79535-47bb-0310-9956-ffa450edef68
2005-12-31 16:33:49 +00:00
Hiram R. Chirino
3516e1005a
better tearDown: allows setup and tear down to be call multiple times in a single testcase.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360315 13f79535-47bb-0310-9956-ffa450edef68
2005-12-31 16:30:26 +00:00
Hiram R. Chirino
7703aeef0c
not sure why.. but these guys are passing for me now.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360197 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 23:33:46 +00:00
Hiram R. Chirino
3d95025a47
Depending on the test configuration parameters, it was possible to get an OutOfMemory error. The causes were:
...
- The MessageList was holding on to all the messages being consumed, changed this so that it only holds on to the messageIds
- Was using a non persistent broker, but was sending it persistent messages, in the topic case, he holds on to the messages in a memory based message store. By default we now send non persistent messages.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360195 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 23:25:03 +00:00