Commit Graph

2116 Commits

Author SHA1 Message Date
Robert Davies 3b28c7c3ec tightened up synchronization around dispatching
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@476100 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 10:29:23 +00:00
Jonas B. Lim 9dcd00823b applied patch for http://issues.apache.org/activemq/browse/AMQ-1010
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@476099 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 10:24:04 +00:00
Robert Davies e582e2fd40 only rotate consumers if there are consumers to rotate!
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@476093 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 09:48:27 +00:00
Jonas B. Lim c1d82a43c6 applied patches for http://issues.apache.org/activemq/browse/AMQ-1057
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@476058 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 06:22:02 +00:00
Hiram R. Chirino 69e5439718 More Java 5 Ehancements.
- Use activeio-3.1 snapshot since that has been upgraded to Java 5
 - Don't need mx4j since Java 5 includes a JMX server



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@476007 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 00:56:16 +00:00
Hiram R. Chirino 86cbdfd5db Switching to Java 5.. Build and Runtime now require Java 5 see: http://www.nabble.com/Switching-to-ActiveMQ-4.2-to-Java-5----tf2637427.html
- Update maven build
- Removed dependency on concurrent-backport



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475999 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 00:29:03 +00:00
Hiram R. Chirino 849d2f330e The async writer is now working and enabled by default.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475943 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 22:06:22 +00:00
Adrian T. Co 2df306cc7a https://issues.apache.org/activemq/browse/AMQ-1050
Fix bug in query when using the format -QTopic=*, -QQueue=*, etc.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475901 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 20:01:00 +00:00
Hiram R. Chirino a58d36b9b3 see: http://issues.apache.org/activemq/browse/AMQ-1056
We now expire messages on the broker.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475848 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 18:24:14 +00:00
James Strachan 93ee7d9f5f tidied up help when ran in interactive mode or via the Command Agent
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475794 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 16:17:20 +00:00
Hiram R. Chirino 4f3f52392d Started on an AsyncDataFileWriter implementation so that we can get more concurrent writes and batch up
file sync() calls done.



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475775 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 15:37:35 +00:00
Hiram R. Chirino 822df45e38 Rev up openwire version in case someone makes changes
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475773 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 15:35:24 +00:00
James Strachan 86ad069c2b enabled the Command Agent by default
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475771 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 15:29:38 +00:00
James Strachan a218949c58 minor update to comment
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475768 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 15:28:16 +00:00
James Strachan 86faaef7c9 Fix for AMQ-1053. Added support for pluggable message transformation together with an implementation using XStream to marshall ObjectMessage instances as TextMessages. See the XStreamTransformTest to see how a producer can send ObjectMessages but then consumers can see either ObjectMessages or TextMessages depending on their requirements.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475701 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 12:08:22 +00:00
James Strachan 34fb326a0a added test case for AMQ-1027
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475680 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 10:56:07 +00:00
Robert Davies fc6ab9c687 change Queue message store in Kaha store adaptor to use memory efficent list instead
of Map containers

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475416 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 20:56:21 +00:00
James Strachan 1c89c92217 enabled the command agent so you can communicate with the broker agent via JMS or XMPP or Stomp
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475316 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 17:34:46 +00:00
Hiram R. Chirino bc7d758fa0 Added some simple stompcat and catstomp scripts
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475302 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 16:36:18 +00:00
James Strachan 9260e941f9 use a temporary queue so replies can be sent to the client when they send to admin topics like ActiveMQ.Agent
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475289 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 16:08:46 +00:00
Hiram R. Chirino ba476b36f0 Setting some svn eol-styles and improving source distro assembly
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475265 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 15:43:24 +00:00
James Strachan 540ebc6651 added a simple interactive console via SimpleConsole together with making the commands usable from the CommandAgent in activemq-core
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475211 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 12:10:41 +00:00
James Strachan 940850910d added a simple command agent that can be used to send messages to a destination (ActiveMQ.Agent) to interact with the broker via the activemq-console commands (list, query, browse etc)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475210 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 12:02:34 +00:00
Hiram R. Chirino f3105202ef Tweaked out the source distro assembly
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475068 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 00:00:28 +00:00
Hiram R. Chirino 5bde1e3003 setting svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475018 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 22:09:09 +00:00
Hiram R. Chirino fe1cde80ae removing extranous META-INF
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475009 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 21:47:27 +00:00
Hiram R. Chirino 9e45486806 Adding notice files
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475004 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 21:44:45 +00:00
Hiram R. Chirino 934e70cb66 Adding notice files
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475002 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 21:44:06 +00:00
Hiram R. Chirino 4416123a00 Adding notice files
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475000 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 21:43:00 +00:00
Hiram R. Chirino 0028479281 Adding notice files
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474998 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 21:40:14 +00:00
Hiram R. Chirino 06a365f12c Setting svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474985 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 21:16:11 +00:00
Hiram R. Chirino 9e6eb830b3 Set the eol-style
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474977 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 21:02:18 +00:00
Hiram R. Chirino cdf6bee977 Added a source distro assembly
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474976 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 20:59:57 +00:00
Hiram R. Chirino 36265ea802 Updated java service wrappers so that they properly use the ACTIVEMQ_BASE and ACTIVEMQ_HOME enviroment variables.
also print out the ACTIVEMQ_BASE on startup and if classloading error occurs, have the main method dump a listing of what is in the classloaders.


git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474926 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 19:20:38 +00:00
Hiram R. Chirino 48a1ad8eec move the wrapper.jar to the bin dir and set the eol-style
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474894 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 17:54:28 +00:00
Hiram R. Chirino f001db49a9 move the wrapper.jar to the bin dir
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474893 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 17:50:53 +00:00
Hiram R. Chirino b243182cf9 move the wrapper.jar to the bin dir
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474892 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 17:50:34 +00:00
Hiram R. Chirino ae5cf8ef9e https://issues.apache.org/activemq/browse/AMQ-1016
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474872 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 17:11:37 +00:00
Hiram R. Chirino c0bc3e00c1 http://issues.apache.org/activemq/browse/AMQ-1045 we now evict failed connections from a connection pool.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474799 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 14:12:03 +00:00
Hiram R. Chirino caa30ffdc0 Added synconization to the methods that setup connection state so that when an async error is detected, it properly does a full cleanup. Previously subscriptions were not properly cleaned up since they were being setup at the same time as they were being cleaned up.
Also start 1 async exception thread ever since an async exception leads to connection tear down.  Subsequent failures do not need additional async threads started.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474769 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 12:44:16 +00:00
Joseph Dennis O. Gapuz 0e9369f5dd AMQ-644 - create Java Service Wrapper for ActiveMQ
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474706 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 08:52:13 +00:00
Robert Davies 7a3de7693b log the the exception if an exception caught in rotating the consumers
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474674 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 06:27:34 +00:00
Frederick G. Oconer 2d64943d45 Minor fix on build failure due to missing start tag "<dependency>" on one of the dependencies.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474632 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 02:43:04 +00:00
Hiram R. Chirino 636e37b376 Don't include activecluster as dependency since it not :)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474523 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 21:18:54 +00:00
Robert Davies 6895d009d8 Split the internal messages in a Queue destination in two - messages accessed by the
PendingMessageCursor and work in progress or pagedInMessages - which are instances
of QueueMessageReference - hence keeping the semantics for Message Groups etc. and keeping
the majority of the 'fiddly bits' intact.



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474475 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 20:06:49 +00:00
Robert Davies 55f4aad761 check that Queue messages aren't acknowledged before applying a filter
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474469 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 19:54:40 +00:00
Robert Davies 9fcfa5c6d2 remove RangeLimitedMap - will be replaced with B+ Tree
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474468 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 19:52:47 +00:00
Robert Davies 6b5840f8c1 remove RangeLimitedMap - will be replaced with B+ Tree
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474467 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 19:51:38 +00:00
Robert Davies b376ce24ef propagate exceptions up to the caller
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474466 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 19:50:31 +00:00
Robert Davies 43d2ef0469 log an error for ConnectionErrors that are not transport or
Broker in shutdown related

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474465 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 19:49:33 +00:00