Commit Graph

1911 Commits

Author SHA1 Message Date
Adrian T. Co 8951023556 https://issues.apache.org/activemq/browse/AMQ-1024
- Fix case where a non-exclusive consumer registered first will receive a message, before an exclusive consumer.
- Added junit test case to demonstrate the issue.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@473219 13f79535-47bb-0310-9956-ffa450edef68
2006-11-10 07:16:25 +00:00
Hiram R. Chirino d71bc421f8 We should let a client change the client id on a connection even if it was set on the connection factory.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@473167 13f79535-47bb-0310-9956-ffa450edef68
2006-11-10 02:04:40 +00:00
Adrian T. Co 0918fba384 https://issues.apache.org/activemq/browse/AMQ-1036
- Fix some browsing problems in the web console.
- Added a purge queue action.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@473056 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 20:12:29 +00:00
Hiram R. Chirino 8be1b5eb5a Reving up version
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@472518 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 15:27:38 +00:00
James Strachan 6be185d2ce Changes to POM to try fix AMQ-1017
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@472483 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 13:05:14 +00:00
Robert Davies 4b5bc5eb2d added synchronization around marshal/unmarshal
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@472421 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 08:23:08 +00:00
Hiram R. Chirino da5139c24b All message dispatching should occur from the session's executor. Also, we should dispatch any messages in the consumers queue before dispatching messages in the session's queues.
http://issues.apache.org/activemq/browse/AMQ-1031
http://issues.apache.org/activemq/browse/AMQ-1032



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@472345 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 00:14:56 +00:00
Adrian T. Co c636b3798f Added test case to test resizing of internal buffer of DataByteArrayOutputStream.
Fix bug during resizing of internal buffer of DataByteArrayOutputStream.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@472258 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 21:00:46 +00:00
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