Hiram R. Chirino
e614534e72
Added assertion to test that system properties can be used to configure broker settings.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@385690 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 22:56:45 +00:00
Hiram R. Chirino
281fd8ded0
Added a <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/> to all activemq configuation files so that system properties can be used in the configuration of the broker.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@385689 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 22:55:24 +00:00
James Strachan
5739c6cdca
refactor of the UDP transport so that it can work with multicast using a DatagramSocket/MulticastSocket directly in addition to using a DatagramChannel (which only seems to work with UDP)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@385577 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 15:52:01 +00:00
James Strachan
0def1d4d40
refactor to allow the MBean createDurableSubscription() method to return the ObjectName of the newly created subscription
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@385575 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 15:41:55 +00:00
James Strachan
ad5ad88996
moved the create/destroy durable subscriptions to the broker MBean to make it easier to use and not require a reference to the topic to destroy them
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@385561 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 14:29:48 +00:00
James Strachan
6ce0aaa0dc
fixed possible NPE
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@385557 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 14:17:14 +00:00
James Strachan
f2a0184a85
added javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@385510 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 11:05:04 +00:00
James Strachan
65fdf0762a
updated the reliable transport to be able to deal with out of order messages within a certain range and discarding duplicates within a range
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@385480 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 09:52:15 +00:00
James Strachan
e6954f1fd4
refactored the reliable transport into the reliable package and added a test case demonstrating the transport handling duplicate packets and dealing with reordering OK
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@385478 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 09:17:43 +00:00
James Strachan
c8b8fdde4f
updated timers to ensure that the test runs even on slow machines
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@385467 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 08:42:42 +00:00
Adrian T. Co
db9a7097a1
- Remove 1.5 dependency
...
- Added activemq-optional to multi-project.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@385419 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 03:20:18 +00:00
Hiram R. Chirino
e08fe99ec0
latest tweaks.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@385202 13f79535-47bb-0310-9956-ffa450edef68
2006-03-11 23:55:51 +00:00
Hiram R. Chirino
7fc12716f5
disabled test so the m2 build succeeds.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@385131 13f79535-47bb-0310-9956-ffa450edef68
2006-03-11 18:46:24 +00:00
James Strachan
95ab99cad5
switch to non-synchronized implementation of ByteArrayStreams
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@385091 13f79535-47bb-0310-9956-ffa450edef68
2006-03-11 15:22:05 +00:00
Hiram R. Chirino
be50d8699c
Applying patch http://jira.activemq.org/jira/secure/ManageAttachments.jspa?id=23767
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384957 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 23:52:45 +00:00
James Strachan
fd2fa9da5c
Refactored the PartialCommand to make it simpler and make LastPartialCommand not contain binary data
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384899 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 19:09:16 +00:00
James Strachan
c2fc820c48
removed hacks in OpenWire to marshal the PartialCommand; we now use normal OpenWire marshalling instead. Also the LastPartialCommand now has no byte[] data in it; making the UDP marshalling code even easier. The PartialCommand literally only has a datastructure type (byte), a commandId (int) and a byte[] now. Ideally OpenWire could detect there is no need for BooleanStreams with this type.
...
Also added a test case for ReliableTransort
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384893 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 19:05:47 +00:00
Robert Davies
c2c3cc20c0
Added request(Command. timeout) to transport
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384854 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 17:04:23 +00:00
Robert Davies
5fe0a4ca8a
Added request(Command. timeout) to transport and added a timeout on
...
close from ActiveMQConnection
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384853 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 17:03:31 +00:00
James Strachan
f51ac13f85
a little bit of spring cleaning to remove some of the cruft
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384837 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 16:12:47 +00:00
James Strachan
8704338288
refactored the UDP transport to push most of the code and logic back into the transport layer itself.
...
* Command how has transient from & to properties which can be used with transports like UDP/multicast to indicate which endpoint (typically broker) actually sent the commands
* used int for commandId
* support for PartialCommand support; allowing large commands (such as big messages) to be split up into smaller chunks
* added a CommandJoiner for joining partial commands together into complete commands
* ReliableTransport which re-orders and can re-request missed commands
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384826 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 15:53:21 +00:00
James Strachan
df26287181
minor refactorings to make it easier to derive from
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384755 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 10:21:07 +00:00
Robert Davies
c5f96e1db5
added some state to avoid npe when starting the connectorServer after stop has been called
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384738 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 09:11:56 +00:00
Adrian T. Co
5e8f85df32
Move MarshallingWithCachingTest from core module to soaktest module.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384690 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 03:05:38 +00:00
James Strachan
2f1dcea144
added test cases for UDP fragmentation
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384640 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 23:08:57 +00:00
James Strachan
3d7f76719f
fix bug in fragmentation
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384638 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 22:57:13 +00:00
Hiram R. Chirino
7b69145159
Fix a 1.5 API dependency the slipped in.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384634 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 22:44:16 +00:00
Hiram R. Chirino
fd5ce05c1d
Appling patch from Nathan Mittler. Thanks Nathan! http://jira.activemq.org/jira/browse/AMQ-620
...
Improves c++ openwire support on linux
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384616 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 21:11:16 +00:00
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