Commit Graph

1903 Commits

Author SHA1 Message Date
Hiram R. Chirino 0c93dfde72 Added message ordering assertions and also a test case that uses consumer.receive() instead of a messsage listener
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@472237 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 20:30:37 +00:00
James Strachan 11501cb38e removed java 5 annotations :)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@472209 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 19:12:48 +00:00
James Strachan 39b0376001 added a test case to reproduce a bad ack bug
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@472207 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 19:10:01 +00:00
Hiram R. Chirino 3daf923b51 Added some fields for future use to the BrokerInfo and ProducerInfo classes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@472165 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 16:56:12 +00:00
Hiram R. Chirino da7478d9d5 Eliminated AbstractConnection by inlining it into TransportConnection. The synchronization complexity between the two was making my head spin. Now that they are consolidated, we can try to simply them a little more.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@472157 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 16:40:23 +00:00
Hiram R. Chirino cafe4cbcc4 http://issues.apache.org/activemq/browse/AMQ-1026
Created a ReconnectTest that showed problems with the synchronization used when a client reconnects to a server via failover before the server detects the client failure.
- InactivityMonitor : Better syncronization so that an inactivty exception is only raised once.
- Connection: Added serviceExceptionAsync() method and change all methods that are dispatching to use this instead of serviceException() to avoid possible deadlock that can occur during connection shutdown.
- MockTransport: finer grained sychonization to avoid deadlocks.
- PrefetchSubscription: it is possible it will get duplicate acks on a failover reconnect



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@471837 13f79535-47bb-0310-9956-ffa450edef68
2006-11-06 19:35:59 +00:00
Robert Davies 2cc9b26943 Use Input/Output Stream intefaces instead of concrete classes
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@470721 13f79535-47bb-0310-9956-ffa450edef68
2006-11-03 08:42:10 +00:00
Robert Davies ede5e3f23e Use Input/Output Stream intefaces instead of concrete classes
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@470716 13f79535-47bb-0310-9956-ffa450edef68
2006-11-03 08:16:11 +00:00
Jonas B. Lim 36de58b371 fix for https://issues.apache.org/activemq/browse/AMQ-1023
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@470695 13f79535-47bb-0310-9956-ffa450edef68
2006-11-03 07:15:37 +00:00
Robert Davies 9c3dc347ca Use Input/Output Stream intefaces instead of concrete classes
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@470401 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 15:51:29 +00:00
Robert Davies 4821b9da70 Use Input/Output Stream intefaces instead of concrete classes
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@470398 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 15:49:58 +00:00
Robert Davies 8a8f41c33b Added test to make sure ConnectionFactory is serializable - which
is a requirement of the JMS spec

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@470395 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 15:47:46 +00:00
Robert Davies ae687a1182 moved StoreByteArray stream methods to util
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@470391 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 15:36:21 +00:00
Robert Davies 166a04bc58 make size of io buffers configurable
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@470390 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 15:35:46 +00:00
Robert Davies fdcc973923 optimized
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@470389 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 15:34:53 +00:00
Robert Davies 330e73140a moved utility methods for reading byte streams to utils package from Kaha
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@470388 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 15:34:22 +00:00
Robert Davies 526cb5bae8 make enabling statistics configurable
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@470387 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 15:33:25 +00:00
James Strachan 12fff78943 fixed typo
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@470282 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 08:57:54 +00:00
Robert Davies c171817a74 tidy up some of the error handling
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@470025 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 18:33:50 +00:00
Adrian T. Co d01965af0b Minor renaming and typo correction.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@470018 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 17:58:51 +00:00
Robert Davies 3f74b0e1c0 support for ByteSequence
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@469986 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 17:13:39 +00:00
James Strachan b3e315fcc2 disabled the use of the CommandAgent by default to avoid causing the VM broker to keep around forever (since the broker itself creates a VM transport which avoids it ever being closed)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@469972 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 16:37:39 +00:00
Robert Davies b93cd9ec13 Ensure Administered objects are Serializable
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@469873 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 11:47:51 +00:00
Adrian T. Co fdadd72d9c Let's use a different name for the network connector in the config file bundled with the distro. This should prevent the default build from spewing some xbean/spring exception.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@469682 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 22:28:59 +00:00
Adrian T. Co 07529a5f05 AMQ-801: Bundle activemq-jaas with dsitro
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@469670 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 21:49:40 +00:00
James Strachan 2672065943 fixed the use of the maven-jettty-plugin to use the correct jetty version for AMQ-1015
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@469564 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 17:09:40 +00:00
James Strachan 050de10d41 reused the command line commands as the default implementation of the CommandHandler
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@469136 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 12:20:57 +00:00
James Strachan 49e10d36fc added support for a simple message based command agent so that you can send management commands to the broker over JMS
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@469135 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 12:17:14 +00:00
James Strachan d9ad0437ff added the dependency on the command line console
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@469134 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 12:14:38 +00:00
Hiram R. Chirino 148f3bded1 Freshened up the shipped examples.
- Inlined the ToolSupport base class to make it more obvious to JMS beginers how JMS is used (less code reuse but these examples are simple enough)
  - Added CommandLineSupport class that uses introspection to handle interpreting command line options
  - Added ruby and java versions of a topic listener and publisher tools that can be used to benchmark broker performance.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@468913 13f79535-47bb-0310-9956-ffa450edef68
2006-10-29 14:35:48 +00:00
Hiram R. Chirino 41265f2b53 make the setProperty public since it can be handy.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@468911 13f79535-47bb-0310-9956-ffa450edef68
2006-10-29 14:30:36 +00:00
James Strachan f370f91664 added a license header & added details of the Jabber Software Foundation XSDs to the notice & license files
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@468097 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 19:10:51 +00:00
James Strachan efd516866d fixed trivial javadoc warning
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@468030 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 15:02:45 +00:00
James Strachan b1ed273f83 fixed the web console so it works fine with spring 2.0 along with adding XMPP support so you can chat with the broker using a Jabber client or use the web front end to send / browse messages
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@468029 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 15:00:48 +00:00
James Strachan 9f000ec235 added the activemq-xmpp module to the build
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@468027 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 14:59:41 +00:00
James Strachan 83573a052c fixed up the test case so its working now along with fixed a schoolboy error in sending messages over XMPP so that works nicely now. FWIW you can now connect via a Jabber client to the broker and interchange messages with the example JMS programs and the web console!
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@468026 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 14:59:11 +00:00
James Strachan 04015a5e3d switched to released version
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@467949 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 10:28:08 +00:00
Brian McCallister 47a97ef893 Change default multicast IP used as we had been using one in the reserved range, now it uses 239.255.2.3, which is in th
e range designated for site-local stuff


git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@467791 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 22:15:35 +00:00
Hiram R. Chirino 349d0f219f Fix javadoc description.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@467789 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 22:13:45 +00:00
Hiram R. Chirino 02991433bb https://issues.apache.org/activemq/browse/AMQ-1004
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@467783 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 22:05:36 +00:00
Hiram R. Chirino ec09a75e7a Commenting out failing test. see:
http://issues.apache.org/activemq/browse/AMQ-1002

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@467716 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 17:12:38 +00:00
Hiram R. Chirino e281f0645a Fix to support spring 2.0, connections produced with SingleConnectionFactory do not allow you to set the clientId on the connection.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@467715 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 17:12:14 +00:00
Hiram R. Chirino be0aaf481f Fix to support spring 2.0, connections produced with SingleConnectionFactory do not allow you to set the clientId on the connection.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@467708 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 16:46:26 +00:00
Hiram R. Chirino fed2d6b5c7 avoid println in the console output
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@467699 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 16:06:20 +00:00
Hiram R. Chirino 1b9276d2c1 avoid println in the console output
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@467697 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 16:05:00 +00:00
Hiram R. Chirino b91928db8c avoid println in the console output
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@467696 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 16:03:51 +00:00
Hiram R. Chirino 0d25d4e211 avoid println in the console output
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@467695 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 16:02:57 +00:00
Hiram R. Chirino e80e052c27 avoid println in the console output
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@467693 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 16:00:57 +00:00
Hiram R. Chirino 7d54de6504 avoid println in the console output
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@467692 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 15:59:59 +00:00
Hiram R. Chirino 9ba6fcc40f avoid println in the console output
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@467690 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 15:58:08 +00:00