James Strachan
b6167482e5
add support for username/password properties
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658393 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 18:53:19 +00:00
Hiram R. Chirino
ff46232797
Fix for: https://issues.apache.org/activemq/browse/AMQ-1738
...
Messages stuck in a queue don't get dispatch (happens when consumers close out)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658370 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 18:15:48 +00:00
James Strachan
926ce535e5
added userName/password properties for easier configuration
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658266 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 14:57:54 +00:00
Robert Davies
d8b5d5c4cd
Fix for https://issues.apache.org/activemq/browse/AMQ-1735
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658154 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 08:14:47 +00:00
Robert Davies
90c8ded771
Fix for https://issues.apache.org/activemq/browse/AMQ-1717
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658127 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 07:01:42 +00:00
Hiram R. Chirino
b9797bc618
making the journal broker aware so that it can pass on the broker service config to the long term persistence
...
adapter if it is also broker aware.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@657904 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 18:39:59 +00:00
Robert Davies
ab3b155ff6
more for https://issues.apache.org/activemq/browse/AMQ-1736
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@657817 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 13:06:37 +00:00
Robert Davies
ca36136639
For https://issues.apache.org/activemq/browse/AMQ-1736
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@657734 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 06:47:30 +00:00
Robert Davies
412923da51
Fix for https://issues.apache.org/activemq/browse/AMQ-1736
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@657193 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 20:23:08 +00:00
Robert Davies
4ddb3e3f6c
tidy up for https://issues.apache.org/activemq/browse/AMQ-1732
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@657155 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 18:29:33 +00:00
Robert Davies
cdd4efabaf
patch for https://issues.apache.org/activemq/browse/AMQ-1661
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@657147 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 17:44:21 +00:00
Guillaume Nodet
b609bdb95b
AMQ-1733: Add an option to allow the xbean broker to destroy the spring application context when the broker is stopped
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@657059 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 13:38:29 +00:00
Robert Davies
2076f452e7
Fix for https://issues.apache.org/activemq/browse/AMQ-1732
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656980 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 09:21:44 +00:00
Robert Davies
8b33c1c640
Fix for http://issues.apache.org/activemq/browse/AMQ-1661
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656688 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 14:48:51 +00:00
Robert Davies
049ce286c7
Fix for http://issues.apache.org/activemq/browse/AMQ-1542
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656679 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 14:25:48 +00:00
Hiram R. Chirino
0ad7681545
Adding the ssl context to the old config too
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656648 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 13:22:41 +00:00
Robert Davies
2aa661d724
Fix for http://issues.apache.org/activemq/browse/AMQ-1709
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656601 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 11:58:12 +00:00
Robert Davies
a4b7157513
Apply patch for https://issues.apache.org/activemq/browse/AMQ-1727
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656582 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 10:50:35 +00:00
Robert Davies
15709c5673
Expose load factor for HashIndex in Kaha
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656574 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 09:42:35 +00:00
Robert Davies
f12c100805
Add an optional initial delay for the consumer
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656379 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 19:37:45 +00:00
Robert Davies
c2a5b54c6d
Grow the HashIndex bins as required
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656378 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 19:36:11 +00:00
Hiram R. Chirino
139a220ee7
fix for AMQ-1724
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656319 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 15:32:54 +00:00
Robert Davies
2e137fb125
Apply patch for http://issues.apache.org/activemq/browse/AMQ-1714
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@655805 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 10:51:38 +00:00
Hiram R. Chirino
b4f65bafac
Fix for https://issues.apache.org/activemq/browse/AMQ-1720
...
added the ability to get a callback when the broker is shutdown. Also added an option to System.exit when the broker is shutdown.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@655639 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 20:54:31 +00:00
James Strachan
2eefd150f0
added refactor to make it easier to create endpoint instances from a spring.xml with minimal constructors for https://issues.apache.org/activemq/browse/CAMEL-505
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@655516 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 15:18:52 +00:00
Hiram R. Chirino
4512f27fdd
Fix threading issue which was causing a memory leak. Basically the writes were getting added to the in flight map
...
after they were enqueued to get written and in that time span they could be been processed and the remove() would occur before the add witch caused the leak.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652562 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 16:02:59 +00:00
Robert Davies
290f51a1eb
Fix for https://issues.apache.org/activemq/browse/AMQ-1699
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652440 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 06:43:08 +00:00
Robert Davies
5a27904d1d
Fix for https://issues.apache.org/activemq/browse/AMQ-1705
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652438 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 06:36:20 +00:00
Robert Davies
8248314204
Fix for https://issues.apache.org/activemq/browse/AMQ-1542
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652437 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 06:10:08 +00:00
Hiram R. Chirino
a3fb0301f9
Fixing test - it has some bad timing assumptions.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652413 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 00:46:36 +00:00
Hadrian Zbarcea
101a3e453a
Removed timing dependent asserts in test that could cause intermittent failures.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652368 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 12:31:46 +00:00
Robert Davies
a61e5bce17
Fix for https://issues.apache.org/activemq/browse/AMQ-1509
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652305 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 06:52:36 +00:00
Robert Davies
7a238556e3
Fix for https://issues.apache.org/activemq/browse/AMQ-1698
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652303 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 06:49:55 +00:00
Robert Davies
b35bc797ec
Fix for https://issues.apache.org/activemq/browse/AMQ-1702
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652302 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 06:48:20 +00:00
Robert Davies
9341f16442
Fix for https://issues.apache.org/activemq/browse/AMQ-1701
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652300 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 06:36:53 +00:00
Hadrian Zbarcea
c4aae53139
Fix typos in tests.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652181 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 22:46:39 +00:00
Hiram R. Chirino
be47d0b392
applying a modified version of that patch attached to https://issues.apache.org/activemq/browse/AMQ-1689
...
- This reduces the the number of disk syncs that the broker does on some workloads which increases performance
- Fixed and issue where the last write to disk migh get lost on broker shutdown.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651637 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 16:15:20 +00:00
Robert Davies
8bf2d78cb2
start consumers/producers
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651619 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 14:49:58 +00:00
Robert Davies
803abe48a4
Apply patch for http://issues.apache.org/activemq/browse/AMQ-1690
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651618 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 14:42:45 +00:00
Hiram R. Chirino
d8be50b617
Applied patch from AMQ-1686 thanks Gary
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651316 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 17:03:47 +00:00
Hiram R. Chirino
44e0eaf1f4
Fix for http://issues.apache.org/activemq/browse/AMQ-1681
...
- Avoid logging object leak when temp destination are created and destroyed.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651300 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 16:02:16 +00:00
Robert Davies
d3ebc9cd21
Fix for https://issues.apache.org/activemq/browse/AMQ-1683
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651242 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 12:23:17 +00:00
Hiram R. Chirino
347f8eca1b
synchronize the asyncWrite method. To avoid the following reported stack trace:
...
Running org.apache.activemq.broker.region.cursors.CursorDurableTest
Exception in thread "Persistence Adaptor Task" java.lang.NullPointerException
at org.apache.activemq.store.amq.AMQMessageStore$4.execute(AMQMessageStore.java:381)
at org.apache.activemq.util.TransactionTemplate.run(TransactionTemplate.java:44)
at org.apache.activemq.store.amq.AMQMessageStore.doAsyncWrite(AMQMessageStore.java:374)
at org.apache.activemq.store.amq.AMQMessageStore.asyncWrite(AMQMessageStore.java:341)
at org.apache.activemq.store.amq.AMQMessageStore$1.iterate(AMQMessageStore.java:95)
at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 303.672 sec <<< FAILURE!
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650956 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 17:46:05 +00:00
Robert Davies
cbb290c0b3
updated some defaults
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650930 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 16:18:06 +00:00
Robert Davies
620b657216
Fix for https://issues.apache.org/activemq/browse/AMQ-1654
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650766 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 07:10:22 +00:00
Robert Davies
18f9773326
Fixes for https://issues.apache.org/activemq/browse/AMQ-1678
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650763 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 06:57:51 +00:00
Robert Davies
ad2465ace8
removed unused import
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650387 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 06:07:04 +00:00
Robert Davies
35635f925d
Fix for https://issues.apache.org/activemq/browse/AMQ-1667
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650386 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 06:03:17 +00:00
Robert Davies
16f2d753e8
Fix for https://issues.apache.org/activemq/browse/AMQ-1672
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650143 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 13:41:19 +00:00
Robert Davies
4a6699e33b
tidied imports
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649713 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 22:26:30 +00:00