Robert Davies
5ac6f3a890
removed System.out
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@583571 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 18:28:53 +00:00
Robert Davies
b2f7ba79db
add some more useful methods
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@583237 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 17:45:54 +00:00
James Strachan
5dcf9cf6b9
added a plugin to support invocation of MessageListener classes as a bean in Camel; for more information see: http://cwiki.apache.org/CAMEL/activemq.html
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@583185 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 14:44:50 +00:00
James Strachan
810375af5f
added a plugin to support invocation of MessageListener classes as a bean in Camel; for more information see: http://cwiki.apache.org/CAMEL/activemq.html
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@583184 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 14:44:20 +00:00
James Strachan
48e8c053fc
updated javadoc link
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@583163 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 13:35:57 +00:00
James Strachan
27a6c0a301
updated the javadoc to be more clear about the camel support
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@583114 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 11:28:38 +00:00
Robert Davies
b9d0972596
quick fix for npe
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@582910 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 17:47:47 +00:00
Robert Davies
22fbb80daf
make persistentIndex true by default
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@582839 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 15:10:19 +00:00
Robert Davies
edb50cb4de
set options on the discovery agent correctly from the URI
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@582810 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 12:54:35 +00:00
Robert Davies
d1eb18af70
Add properties to the AMQPersistenceAdaptorFactory
...
to set syncOnWrite(default=false) and persistentIndex(default=true) properties
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@582801 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 12:39:48 +00:00
Robert Davies
1d487896b4
refresh entry for prev as well as next
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@582575 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 05:10:28 +00:00
Robert Davies
84a116d2c7
Fix for https://issues.apache.org/activemq/browse/AMQ-1445
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@582574 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 04:42:24 +00:00
Robert Davies
e2ef8b8165
patch http://issues.apache.org/activemq/browse/AMQ-1444
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@582086 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 06:02:46 +00:00
Robert Davies
f3d633c2a9
Test case for sending single messages per connection - was blowing memory - now fixed
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581885 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 13:01:25 +00:00
Robert Davies
805a0cc506
the MESSAGE_SIZE_OVERHEAD was too low - increased it to a more realistic size
...
Please note - this is related to the overhead in broker memory - not
the on-the-wire size - which is small
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581882 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 12:49:37 +00:00
Robert Davies
5f8c101973
By default, use no subscription recovery policy for temporary or advisory topics
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581881 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 12:48:02 +00:00
Robert Davies
fc69b29343
handle errors from recovery check gracefully
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581792 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 08:00:39 +00:00
Robert Davies
3c1a8474f9
FilePendingMessageCursor was being added twice to the MemoryUsage
...
which resulted in a memory leak
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581784 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 06:18:49 +00:00
Hiram R. Chirino
c256dcf9e8
Fix for https://issues.apache.org/activemq/browse/AMQ-1038
...
We now send REDELIVERY acks to the broker when a message is redelivered. This allows the broker to update the message with the number of times redelivery has occured so that if the message is delivered to another consumer it can DQL the message when max redeliveries have occured across consumers.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581747 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 23:32:29 +00:00
Robert Davies
1401e69956
after canceling a TimerTask - purge from the Timer list - fix memory leak
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581736 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 21:55:40 +00:00
Robert Davies
7b1fd3484e
Fix for http://issues.apache.org/activemq/browse/AMQ-1250
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581715 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 20:24:27 +00:00
Robert Davies
08841bbde3
fix memory leak in ActiveMQConnection - with asyncConnectionThread not being shutdown on a close
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581683 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 18:50:03 +00:00
Robert Davies
5bd3bf6e24
Ignore NULL references when checking isEmpty
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581568 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 11:24:38 +00:00
Robert Davies
69a5e00843
be conservative allocating objects up-front
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581321 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 17:58:11 +00:00
Robert Davies
595d95b3da
Have the TransactionContext per connection
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581242 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 13:58:22 +00:00
Robert Davies
6aa4bcad5b
some unnecessary memory allocations removed
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581167 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 09:25:39 +00:00
Hiram R. Chirino
53c4e125f6
Fix for AMQ-1095:
...
- Added contributed test cases
- We now filter out non-matching messages as they are loaded into the TopicStorePrefetch
- Changed the TopicStorePrefetch and StoreDurableSubscriberCursor so that they don't depend
on the pending message counter since some stores cannot give an accurate count for it.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581053 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 20:02:18 +00:00
Hiram R. Chirino
7bd8fb6754
Fix failing test cases.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@580475 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 20:16:08 +00:00
Hiram R. Chirino
3d024d6b4f
Make amq 5.x compatible again with 4.x clients
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@580382 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 15:09:33 +00:00
Robert Davies
19a83ae3cb
Rolled back patches for https://issues.apache.org/activemq/browse/AMQ-1361 - as no licence headers where provided - we can't accept
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@580273 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 09:46:50 +00:00
Hiram R. Chirino
e21587fb9e
Added the ASL to a bunch of property files.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@580013 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 13:35:43 +00:00
James Strachan
42b768aa1f
added patch for https://issues.apache.org/activemq/browse/AMQ-1435 to handle Mirrored Queues (so that folks can consume on a topic what messages are sent to a queue)
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@579941 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 08:26:57 +00:00
James Strachan
8cad176f68
minor change to make tests more exclusive to avoid 'em hitting each other
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@579639 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 12:30:45 +00:00
James Strachan
d48322690f
added patch for AMQ-1434 to allow transport listeners to be used with a connection factory for easy integration with Spring JmsTemplate etc
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@579498 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 08:08:14 +00:00
Robert Davies
2b063efafa
fix reference counting
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@578877 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 17:00:08 +00:00
Hiram R. Chirino
01bdc524e7
Better broker shutdown handling and also better test support.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@577882 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 19:11:44 +00:00
Hiram R. Chirino
b7b929d90f
Removing invalid testcase. This test was setting up 2 consumers and storing the message sequences in a single list for both. Further more it was checking that those messages were delivered in order. It is not possible garantee order between 2 consumers.. therefore this test is invalid.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@577881 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 19:09:44 +00:00
Hiram R. Chirino
c8666f89dc
Fix for broken test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@577878 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 18:57:38 +00:00
Hiram R. Chirino
54d24ad3bf
Fix broke test.. A transaction manager is now required when transacted endpoints are configured.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@577869 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 18:49:01 +00:00
Guillaume Nodet
8032375531
AMQ-1429: Package ActiveMQ as OSGi bundles instead of plain jars
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@577760 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 14:16:12 +00:00
Hiram R. Chirino
00895cecc1
ActiveMQ is out of the incubator.. no need for DISCLAIMER.txt anymore
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@577759 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 14:13:23 +00:00
Robert Davies
4d01443fa7
make the locking more coarse grained
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@577746 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 13:49:32 +00:00
Robert Davies
417fcd7f19
Don't use System.out
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@577683 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 11:09:32 +00:00
Robert Davies
6b7055afc8
remove unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@576527 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 17:06:14 +00:00
Robert Davies
a98333a19a
use default amq persistence
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@574646 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 17:38:56 +00:00
James Strachan
696b34a01d
use the same ConnectionFactory so that transactional consume + send can use the same session
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@574465 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 05:47:30 +00:00
James Strachan
5829d7045c
added better debug logging
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@574460 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 05:20:20 +00:00
Hiram R. Chirino
84da202a7a
Update to the latest version of xbean
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@574327 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 18:41:32 +00:00
Hiram R. Chirino
a69c3e78c5
Switch to using a Timer to schedual tasks. Seems to have much more acurate time delays between executions.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@574321 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 18:27:40 +00:00
Hiram R. Chirino
5f96839259
Moved the camel-activemq module into the activemq-core module to break the circular dependency between the activemq and camel projects.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@573615 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 15:44:45 +00:00
Hiram R. Chirino
b732d3d114
Fix for the QueueWorkerPrefetchTest. The VMPendingMessageCursor.isEmpty() was returning true when it had an a message that had been marked dropped due to it being delivered by another subscription.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@573400 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 22:19:25 +00:00
Hiram R. Chirino
222daf2323
Fix for https://issues.apache.org/activemq/browse/AMQ-1382 ... if the broker.persistent==false then we should not create any files, not even for the Temp Store.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@573397 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 22:14:34 +00:00
Hiram R. Chirino
b81dd2886e
Fixed ContainerId so that it also uses the container name when it compares equality. Switch back to using a single index file
...
for the topic susbcriptions lists.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@573395 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 22:11:43 +00:00
Hiram R. Chirino
838e9a42b4
if the container name has '/' in it then make sure we create the parent directories before we try to access the file.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@573392 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 22:05:43 +00:00
Hiram R. Chirino
1301501a0a
Fixed synchronizations so that threads don't block each others processing as much and now the test works fine without hanging. see https://issues.apache.org/activemq/browse/AMQ-1251
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@573342 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 19:25:46 +00:00
Hiram R. Chirino
642d38cd8c
Fix for https://issues.apache.org/activemq/browse/AMQ-1156
...
We now actually update the tcpNoDelay setting on the socket once the wireformat options are negociated. This allows
the client to control if his socket and the server's socket use the option. By default tcpNoDelay is enabled.
the client should use a URL like -Durl=tcp://localhost:61616?wireFormat.tcpNoDelayEnabled=false to disable tcpNoDelay on both the client and the server socket.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@573080 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 21:51:40 +00:00
Hiram R. Chirino
9e61ade946
Fixing compile issue cause by camel API change
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@573005 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 17:18:54 +00:00
Robert Davies
65454017fc
Ensure system safe names are used for container names
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@572975 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 15:47:20 +00:00
Robert Davies
0d0dd4587d
use potentially shorter container name for the topic subscriber references
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@572974 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 15:41:19 +00:00
Robert Davies
ec2cfc5fd0
shorten the name of the container containing the SubscriberMessageList
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@572905 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 09:06:32 +00:00
Robert Davies
1195ae751c
ensure the ConectionContext always has a broker set before sending message to DLQ
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@572300 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 12:50:17 +00:00
Hiram R. Chirino
0a52fe7289
Satitized the filenames that the KahaStore uses.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@571306 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 20:49:41 +00:00
Robert Davies
eba0ae3c7b
test case for https://issues.apache.org/activemq/browse/AMQ-1251
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@571150 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 12:54:06 +00:00
Robert Davies
3cd1e6c73f
ensure exception is logged if one is raised sending a message to a dead letter queue
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@569270 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 06:29:18 +00:00
Jonas B. Lim
d97054b1c2
fix for https://issues.apache.org/activemq/browse/AMQ-1365
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@568869 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 07:48:37 +00:00
James Strachan
fba074227d
allow a MessageListener to be specified when creating a consumer; to avoid threading issues when creating lots of consumers after the connection has started
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@568644 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 15:09:44 +00:00
Hiram R. Chirino
2b0024c269
Made the SystemUsage and associated *Usage classes IOC friendly so that they can be configured
...
via xbean/spring. Fixed the ConfigTest test case.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@567796 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 19:30:33 +00:00
Robert Davies
6d8e2c5b3a
UpdateManager changed to account for Store and Temp data usage as well as memory usage
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@567647 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 10:37:29 +00:00
Hiram R. Chirino
90deed42cc
Improved the STOMP test case a little to verify that killed stomp clients redeliver un acked messages
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@566277 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 17:33:05 +00:00
Hiram R. Chirino
926f9ce614
Control file was not properly loading state when the the record length stored was not == to the max record length.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@566202 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 14:46:03 +00:00
James Strachan
232844d462
Removing unwanted test files from the test-jar
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@566121 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 12:34:24 +00:00
Robert Davies
54c8eeb842
temporarily comment out log4j dependency
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@565632 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 06:07:37 +00:00
Robert Davies
df6b54240c
Applied patch from http://issues.apache.org/activemq/browse/AMQ-1361
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@565381 13f79535-47bb-0310-9956-ffa450edef68
2007-08-13 15:44:44 +00:00
Hiram R. Chirino
5f1adbe898
More checkstyle fixes
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@564977 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 21:29:21 +00:00
Hiram R. Chirino
933eb2f9e4
More checkstyle fixes and Generics usage.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@564814 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 00:49:19 +00:00
Hiram R. Chirino
5719351cb7
Fix for the testQueuePersistentUncommitedAcksLostOnRestart() test in RecoveryBrokerTest. Since this test resuses the memory based store instance across restarts, the cusror pointers were not getting reset after restart.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@564685 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 17:18:14 +00:00
Hiram R. Chirino
ecf89a60bf
More checkstyle violation fixes
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@564679 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 16:57:01 +00:00
Jonas B. Lim
1963ea4006
added test case to simulate "javax.jms.JMSException: Transaction 'TX:ID:...' has not been started." exception
...
this test appears to manifest consistently on a MacBook. Haven't been able to reproduce this on windows though.
Is excluded by default as the test can sometime take too long to execute
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@564505 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 08:22:09 +00:00
Hiram R. Chirino
fc00993839
More checkstyle violation fixes
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@564271 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 16:37:49 +00:00
Hiram R. Chirino
74a7a8bbfc
More checkstyle fixes
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@564057 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 00:34:07 +00:00
Hiram R. Chirino
f812e34179
More checkstyle fixes
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@563982 13f79535-47bb-0310-9956-ffa450edef68
2007-08-08 18:56:59 +00:00
Hiram R. Chirino
43ba1be188
Fixing checkstyle issues
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@563930 13f79535-47bb-0310-9956-ffa450edef68
2007-08-08 16:30:17 +00:00
Hiram R. Chirino
230a86c489
Fixing a bunch of checkstyle violations
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@563921 13f79535-47bb-0310-9956-ffa450edef68
2007-08-08 15:52:25 +00:00
Hiram R. Chirino
0945e32b6a
Fix the TopicMasterSlaveTest that was failing
...
- Stack was overflowing due to the advisory broker advising on topic advisories
- MasterConnector now makes sync request to the slave if it's given a sync request
- Test was failing due to kaha not being able to create a file that was too long.. fixed by making the
sub name and client id and dest name shorter. Need to revisit.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@563854 13f79535-47bb-0310-9956-ffa450edef68
2007-08-08 13:22:15 +00:00
James Strachan
4102accade
migrated the Camel destination code from the camel project into ActiveMQ as it makes more sense to host it here - and avoids a circular dependency issue when releasing ActiveMQ 5.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@563609 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 18:36:58 +00:00
Hiram R. Chirino
2728ccbb88
Fix for AMQ-1356 : Durable Subscriptions do not work with Wildcards after broker is restarted.
...
- Added a RecoveryBrokerTest.testWildCardSubscriptionPreservedOnRestart() test case that was showing
that that wildcards did not work with DurableSubscriptions
- Fix the TransactedTopicMasterSlaveTest so that setDeleteAllMessagesOnStartup() takes effect (had to be done before the connectors are added.
- Change the MessageStore interface so that subscriptions are created using the data in the SubscriptionInfo class
- Added a subscribedDestination field to the SubscriptionInfo so that the original wildcard subscrption can be remembered
- The KahaReference store now deletes it's State store too when deleteAllMessages() is called
- Fixed KahaPersistenceAdapter.getDestinations() so that it actually returns all the destinations.
- We now recover all the topics eagerly when the topic region is started.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@563194 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 17:07:55 +00:00
Hiram R. Chirino
8b68c62249
Switched from using ${activemq-version} to using ${version}
...
added a required dependency in activemq-web to spring-web
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@562099 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 13:03:33 +00:00
Robert Davies
64b8fb64f4
Added explicit error for badly formated broker name
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@561815 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 14:49:48 +00:00
Robert Davies
ec6a7029c5
updated message properties
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@561428 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 18:34:32 +00:00
Hiram R. Chirino
5ad4732038
- Faster VMTransport shutdown by avoiding a potential deadlock
...
- Better connection shutdown.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@561180 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 23:11:24 +00:00
Hiram R. Chirino
f90c62c640
Fix for intermitent test failure at:
...
testOneProducerManyConsumersManyMessages(org.apache.activemq.broker.policy.RoundRobinDispatchPolicyTest)
It was checking that messages were evenly distributed accross consumers but that can only be garanteed when
the consumer prefetches can hold all the published messages.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@561113 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 20:50:01 +00:00
Robert Davies
350a2aad7f
Fix for https://issues.apache.org/activemq/browse/AMQ-1305
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@561109 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 20:36:16 +00:00
Robert Davies
c07b23352c
Fix for https://issues.apache.org/activemq/browse/AMQ-567
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@561088 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 18:45:49 +00:00
Robert Davies
b3eb9a5e5b
added support for properties brokerInTime and brokerOutTime
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@561028 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 16:07:17 +00:00
Robert Davies
a401575569
Added support for length of time messages are processed by the broker -
...
fix for https://issues.apache.org/activemq/browse/AMQ-1160 ,
https://issues.apache.org/activemq/browse/AMQ-1072 ,
https://issues.apache.org/activemq/browse/AMQ-936
and ground work for for https://issues.apache.org/activemq/browse/AMQ-567
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@561026 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 16:01:37 +00:00
Hiram R. Chirino
b97f7d8479
Fixed pom so that it generates the openwire commands when mvn clean compile -P openwire-generate
...
is run
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560989 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 14:10:04 +00:00
Hiram R. Chirino
2d27d56e59
- Fix for the xmpp transport needed du to recently added stop() synchronization.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560979 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 13:41:59 +00:00
Hiram R. Chirino
ea74731701
Serveral changes needed to Fix https://issues.apache.org/activemq/browse/AMQ-1349
...
- The vm:// transport was delivering events to the listener before start() was called. Also clean it up a little by consolidating
the use of the prePeerSetQueue and messageQueue field.
- the tcp:// .stop() method now blocks until the thread that calls out to the listener is shutdown.
- TransportConnection was not doing a good job synchronizing when multiple concurrent conenctions to the same connection Id was established.
IllegalStateExceptions were common when a failover connection reconnected. Now we make sure that only 1 connection with a given connectionId
is activley operating in the broker. Also removed 1 un-needed hash lookup by replacing the brokerConnectionStates Map with the
connectionState variable.
Also added a pause in the JmsTempDestinationTest to avoid intermitent failures.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560872 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 05:34:37 +00:00
Robert Davies
3a5f48d277
Fix for http://issues.apache.org/activemq/browse/AMQ-1080
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560783 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 19:01:29 +00:00
Robert Davies
eeb8d5bafc
remove println
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560700 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 08:59:46 +00:00