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
James Strachan
8043380127
remove memory leak of consumers & browsers
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@433198 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 08:40:08 +00:00
Robert Davies
bc005fd1e6
tidy code for easier maintenance
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@432664 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 18:02:49 +00:00
James Strachan
36553b336d
added snippet macro tags for the wiki
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@432519 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 08:35:20 +00:00
James Strachan
ee2462da41
Minor refactor so that we can configure the MasterConnector using XML or dependency injection easier. Also added a test case showing how to use a new <masterConnector> element to configure the userName & password of the slave. For background on this issue see: http://www.nabble.com/Master-Slave-with-authentication-tf2094845.html
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@432517 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 08:30:40 +00:00
Hiram R. Chirino
8f112fe208
Removing the mave-dependency-plugin... this was a little experiment to see if we could use a plugin to dump all the activemq dependencies to a local repository. Seem that the assembly plugin can allready do this, but the maven-proxy project http://maven-proxy.codehaus.org/ can do it even better.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@432448 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 00:22:51 +00:00
James Strachan
73e5a3024c
added fix for AMQ-883 and AMQ-865 along with test cases from Denis Abramov and Bryan Schmidt. In partcular many thanks to Bryan Schmidt who figured out what the problem was and helped me do wacky things with the event delegate thingy :)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@432377 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 20:20:42 +00:00