Commit Graph

1821 Commits

Author SHA1 Message Date
Robert Davies 3fe77a2cf8 Use a different TaskFactory for PersistenceAdaptors - allowing the thread priority
to be set differently for PersistenceAdaptors (e.g. Journal) than normal tasks.

This is part of the work necessary for http://issues.apache.org/activemq/browse/AMQ-845

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@440108 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 15:40:53 +00:00
Hiram R. Chirino 802296d5d9 Fix broken test case: ConfigTest
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@439950 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 06:32:41 +00:00
Hiram R. Chirino b75a6dac1b Applied patch: https://issues.apache.org/activemq/browse/AMQ-891
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@439939 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 05:44:38 +00:00
Hiram R. Chirino ac66a09dab Added a MemoryPropertyEditor that allows you to specify memory sizes in the xbean config like: limit="20 MB"
Upgraded the xbean maven plugin to 2.6 and the new qdox that it used did not like some of our valid inline initialization of variables, so I had
to refactor to an equivalent form that qdox did like.

http://issues.apache.org/activemq/browse/AMQ-827
http://issues.apache.org/activemq/browse/AMQ-909



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@439930 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 04:56:25 +00:00
Hiram R. Chirino 96356920b1 This test is in the core module allready
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@439929 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 04:47:15 +00:00
Hiram R. Chirino 8029b8d557 trace more operations and don't let tracing errors cause operations to fail.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@439886 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 00:31:55 +00:00
Hiram R. Chirino 9da7781c49 Swtich to released xbean
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@439880 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 00:06:14 +00:00
Robert Davies e78edb1ea7 move setPercentUsage() out of synchronized blocks to prevent a deadlock in the journal
persistence adaptor

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@439837 13f79535-47bb-0310-9956-ffa450edef68
2006-09-03 19:22:12 +00:00
Hiram R. Chirino a7891c3dca Patch applied from Vadim: https://issues.apache.org/activemq/browse/AMQ-855
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@439804 13f79535-47bb-0310-9956-ffa450edef68
2006-09-03 17:09:51 +00:00
Robert Davies 7d1e6bcdee some ground work for http://issues.apache.org/activemq/browse/AMQ-845
changed pending linked list to use a PendingMessageCursor interface instead

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@439552 13f79535-47bb-0310-9956-ffa450edef68
2006-09-02 07:03:30 +00:00
Robert Davies 51902f45f5 some ground work for http://issues.apache.org/activemq/browse/AMQ-845
changed pending linked list to use a PendingMessageCursor interface instead

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@439551 13f79535-47bb-0310-9956-ffa450edef68
2006-09-02 07:03:09 +00:00
Hiram R. Chirino a19bfd4c9a https://issues.apache.org/activemq/browse/AMQ-855 allow prefetch==0 to work with receive(timeout) and receiveNoWait()
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@439442 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 19:52:18 +00:00
Hiram R. Chirino e16114f99b Protect against NPE when toString() is called before object is fully initialized.
Spring seems to be doing this (part of of it's debug logging) with newer releases.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@439346 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 15:06:13 +00:00
Hiram R. Chirino 2b51c3357e Opps.. commented out tests by mistake
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@439345 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 15:01:35 +00:00
Robert Davies fe0243ade3 use logger for exceptions
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@439298 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 12:49:16 +00:00
Hiram R. Chirino e2bd38c7a2 http://issues.apache.org/activemq/browse/AMQ-907
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@439204 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 06:27:42 +00:00
Hiram R. Chirino 88acb0ede7 Eliminating required dependency on activeio... http://issues.apache.org/activemq/browse/AMQ-907
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@439111 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 00:13:23 +00:00
Hiram R. Chirino 1c0de6bda4 implement toByteSequence on direct byte buffers too.. needed for http://issues.apache.org/activemq/browse/AMQ-907
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@439108 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 00:00:49 +00:00
Robert Davies 9d4c74fb74 git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@438994 13f79535-47bb-0310-9956-ffa450edef68 2006-08-31 17:32:02 +00:00
Robert Davies bfaff9b37c Apply patch http://issues.apache.org/activemq/browse/AMQ-877
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@438917 13f79535-47bb-0310-9956-ffa450edef68
2006-08-31 13:42:14 +00:00
Robert Davies f48b4eb3a3 added debug around transport being disposed
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@438840 13f79535-47bb-0310-9956-ffa450edef68
2006-08-31 08:30:50 +00:00
Frederick G. Oconer ebf60bb3ca https://issues.apache.org/activemq/browse/AMQ-902
Bug: Compilation error on class HttpsTransportServer because setAlgorithm(String) was replaced in jetty-6.0.0rc2. 

Fix: Modified setting of algorithm with new methods.









git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@438429 13f79535-47bb-0310-9956-ffa450edef68
2006-08-30 09:12:54 +00:00
Frederick G. Oconer 46c6ff97ac Issues:
1. 

Bug: Unable to find some dependencies because the maven plugin that is downloaded are snapshots version. 

Solution: Disabled release version on pluginRepository "apache-snapshots".

2.  

Bug: https://issues.apache.org/activemq/browse/AMQ-901
Solution: Changed version of maven-xbean-plugin to release version 2.5


git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@438348 13f79535-47bb-0310-9956-ffa450edef68
2006-08-30 04:18:56 +00:00
Hiram R. Chirino 1e7d8d8b73 Adding a file created with sn -k
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@438113 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 16:45:34 +00:00
Gregory John Wilkins b353831999 AMQ-884 patch
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@436909 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 19:13:03 +00:00
James Strachan 9479de76fa fix for AMQ-896 and AMQ-837. Also tidied up the Queue / QueueView / QueueViewMBean code a little to make it easier to work with queues via Java / JMX allowing messages to be copied, moved and removed via a selector or MessageReferenceFilter
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@436899 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 18:41:45 +00:00
James Strachan fdb9c4153b added a test case to check we can configure the keepAlive and tcpNoDelay properties on TCP. For background see: http://www.nabble.com/Bad-AMQ-Linux-performance-tf2159490.html#a5986085
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@436850 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 16:42:44 +00:00
James Strachan e8c8abcd5b applied patch from John Heitmann to fix AMQ-889 to avoid duplicate consumers (such as on failover) leaking resources
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@436835 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 15:39:16 +00:00
James Strachan 1ad52f4209 patch supplied by John Heitmann to allow the rmi port to be configured to fix AMQ-892
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@436833 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 15:31:22 +00:00
James Strachan b54ce41de2 added patch by John Heitmann with thanks to fix issue AMQ-890
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@436767 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 11:52:33 +00:00
James Strachan fbad105e7d attempt to reconnect to the remote JMS broker if we get a fail sending a message to it - an attempt at fixing AMQ-895
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@436752 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 11:01:30 +00:00
James Strachan 09990f2eab add the UDP trace plugin which can be handy when testing stuff
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@436751 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 10:41:36 +00:00
James Strachan aa3b9acd5a applied patch from John Heitmann, many thanks - which fixes AMQ-515
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@436748 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 10:38:47 +00:00
James Strachan d21381d21b allow the TCP_NODELAY option to be configured
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@436745 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 10:11:33 +00:00
James Strachan a420312a40 avoid the possibility that 2 threads could attempt to add a destination at the same time causing it to be created twice and avoid issues such as duplicate registration in JMX
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@434397 13f79535-47bb-0310-9956-ffa450edef68
2006-08-24 14:01:30 +00:00
James Strachan d4a50a7340 allow users to disable the creation of the DDL tables on startup
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@434344 13f79535-47bb-0310-9956-ffa450edef68
2006-08-24 09:00:55 +00:00
James Strachan 53082e6a14 add the ability to remove network connectors dynamically
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@434068 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 16:12:47 +00:00
James Strachan 6e714a2fe5 use INFO level logging when we loose a connection to a broker to highlight to users bad networking issues such as dropped sockets or bad firewalls etc. This change fixes AMQ-829
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@434064 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 15:31:40 +00:00
James Strachan 9431f934cd added the activemq.home system property in case the log4j.property is changed to use files
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@434043 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 13:43:43 +00:00
James Strachan 20a4ebd808 removed unnecessary import
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@434023 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 12:23:32 +00:00
James Strachan 7685e4d2f3 include the shell scripts in the ZIP distro as (i) some windows users use cygwin and (ii) some non-windows users use zip files :)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@434022 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 12:23:09 +00:00
James Strachan 4f715a2f8a Have just added a short circuit for the loop trying to acquire the exclusive lock so that we fail fast if we are stopping to fix AMQ-893
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@434007 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 10:55:55 +00:00
James Strachan d4a834743f added the ability to configure the TCP keepAlive option
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@434006 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 10:54:43 +00:00
Hiram R. Chirino 4b6b61b820 Added a udp and multicast broker tracing plugins. If enabled on a broker they can be used to monitor the broker without much network overhead.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@433948 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 06:58:41 +00:00
James Strachan 73ef5bea04 added an example of using Oracle JDBC along with using DBCP with Oracle rather than the non-pooling default that comes with Oracle
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@433697 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 17:10:58 +00:00
James Strachan 4ce744b16b added an XML view of the queue statistics on the web console so folks can slurp up the XML in any old scripting language and write their own alert monitoring stuff
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@433678 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 15:46:25 +00:00
Hiram R. Chirino 6a12e9cdeb http://issues.apache.org/activemq/browse/AMQ-887
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@433673 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 15:25:50 +00:00
Hiram R. Chirino 07c1e65c22 http://issues.apache.org/activemq/browse/AMQ-888
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@433353 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 20:53:52 +00:00
Hiram R. Chirino 960dce70d3 http://issues.apache.org/activemq/browse/AMQ-888
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@433286 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 17:08:00 +00:00
Hiram R. Chirino 58d4605661 Fix for http://issues.apache.org/activemq/browse/AMQ-886
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@433244 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 13:43:39 +00:00