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
Robert Davies
13729a3690
Enabled
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560699 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 08:59:30 +00:00
Robert Davies
6013b64f97
updated for junit test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560698 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 08:58:59 +00:00
Robert Davies
35ba427ec9
Fix for http://issues.apache.org/activemq/browse/AMQ-920
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560696 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 08:57:31 +00:00
Robert Davies
50c6d9ccc8
A message is a message isMessage()
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560695 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 08:56:54 +00:00
Robert Davies
14180c5cb3
check for nulls
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560694 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 08:56:21 +00:00
Robert Davies
1e3e5b7223
Fix for http://issues.apache.org/activemq/browse/AMQ-1294
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560693 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 08:54:49 +00:00
Hiram R. Chirino
3b73e60233
Fix for http://issues.apache.org/activemq/browse/AMQ-1348
...
Better file locking on windows. We now use a seperate lock file to signifiy the lock on the kaha db.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560352 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 18:49:47 +00:00
Hiram R. Chirino
9d2e5418fe
Added a handy processingDelay option to the MessageIdList so that a test case and simulate a slow consumer
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560294 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 16:02:04 +00:00
Hiram R. Chirino
d56ebd842d
fix for AMQ-1346.. moved handling the not full event into the queue's task runner to avoid deadlocks and the recursiveness of the pagIn call that was
...
causing the Illeagal state exception.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560282 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 15:42:31 +00:00
Robert Davies
956fe93bd2
No need to create destination twice when doing a destination lookup
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560274 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 15:29:51 +00:00
Hiram R. Chirino
6a928d5cfe
- Made the dispatchValve handling a little safer.. it was previously possible that an exception could cause the broker to miss turning it off before trying to turn it on.
...
- better producer flow control logic, was not working for sync send producers without a window
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@559915 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 18:07:16 +00:00