Hiram R. Chirino
b2ad8fa833
Support naming all the connectors so that JMX object names are easier to view.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383972 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 19:25:05 +00:00
Hiram R. Chirino
c977f7ddfc
support destination options on a stream consumer.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383971 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 19:24:15 +00:00
Hiram R. Chirino
5ff3487b2f
renamed matched to pending.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383969 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 19:18:28 +00:00
Hiram R. Chirino
3b0377cfaf
Test case and fix for http://jira.activemq.org/jira/browse/AMQ-618
...
Robert Newson, great job finding and putting together a test case for this.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383957 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 18:59:41 +00:00
James Strachan
1c5ecb36d3
added a default implementation of BufferPool and a default replay strategy
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383918 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 16:24:05 +00:00
James Strachan
fcd06b2077
add the data size to datagram headers
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383894 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 14:12:11 +00:00
James Strachan
eba4c9cfa8
initial spike of a UDP based transport - completely untested so far :)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383893 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 14:06:59 +00:00
Robert Davies
560763a603
delete db messages on start-up
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383853 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 11:49:28 +00:00
James Strachan
9c2185b826
set default timeout value of 30s
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383832 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 09:54:09 +00:00
James Strachan
c2123e3b1b
allow a connectionTimeout to be specified on a socket for AMQ-607
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383831 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 09:47:25 +00:00
James Strachan
3cd3fd364e
added extra check to make sure all MBeans are unregistered on a stop() call to ensure that AMQ-585 is fixed
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383828 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 09:25:05 +00:00
Hiram R. Chirino
07d4e8c63d
- A bunch of JMX related tiding up.
...
- Added a sendTextMessage() method to the DestinationView so that a JMX console can send a test message to a destination.
- Renamed a few bean properties so that they would be more consistent:
- use get*Counter for properties that keep incrementing
- use get*QueueSize for poperties that repesenet the size of list in broker.
- the gc() method on the broker is now the only one expose
- the CachedMessageCount is not exposed anymore.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383815 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 07:39:51 +00:00
Hiram R. Chirino
cd0fb615de
Adjusted openwire generators
...
- Got .NET working again after bing WireFormat change
- Fixed generated indenting for the java and csharp stuff.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383767 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 04:14:27 +00:00
Hiram R. Chirino
446629bba0
- Since we WireFormatInfo needs to be flexible and extensible so that feilds can be added witout changing it's on the wire encoding, we are now using a primitive map to store it's data.
...
- Extracted the NetworkBridgeFilter out of the Demand based forwarding bridge and made it a serializable class so that a bridge can be used with a remote broker.
- Cleaned up many of the warnings gram was spewing out by having it suck in more files.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383749 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 02:32:50 +00:00
James Strachan
d5193d217f
increased timeout to ensure test always works
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383632 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 19:37:37 +00:00
James Strachan
d9b9427a5f
added fix for AMQ-519 so that we explicitly force the redelivered message to be deserialized again for ObjectMessage instances to avoid mutable objects being changed, then rolled back
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383627 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 19:10:32 +00:00
James Strachan
900f6e9de1
added better exception message
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383565 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 15:33:43 +00:00
Hiram R. Chirino
db9144a985
Protect against cache overwrites.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383546 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 14:25:36 +00:00
Hiram R. Chirino
c3e10f5438
updated hashCode and equals to pickup new fields.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383545 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 14:10:43 +00:00
Hiram R. Chirino
b665f18730
Better cache eviction in place.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383544 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 14:06:13 +00:00
James Strachan
d666be05f9
added test case and patch for AMQ-617
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383541 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 13:53:11 +00:00
Hiram R. Chirino
120f77dad0
return true if the copy works.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383530 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 13:27:39 +00:00
James Strachan
3d96abcc93
added extra test to ensure that the transport instance is fully started before attempts are made to use the transport
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383523 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 12:12:53 +00:00
James Strachan
204e940809
added helper method
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383516 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 11:18:24 +00:00
Robert Davies
6cb66e4865
PolicyMap not initialized by XBean/Spring when Broker constructed for Transports.
...
Chanhed so PolicyMap is lazily fetched from the BrokerService by the RegionBroker
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383486 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 07:25:51 +00:00
Robert Davies
6892f8ca04
Added slow consumer test
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383485 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 07:24:16 +00:00
Hiram R. Chirino
e0a2b8eab7
Updated openwire generation scripts so that they produce file with consistent newlines even on windows.
...
Updated dotnet generator due to refactor
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383296 13f79535-47bb-0310-9956-ffa450edef68
2006-03-05 08:49:13 +00:00
Hiram R. Chirino
42ac3f1afc
include tools.jar in the Gram classpath, since that's where javadoc classes are. If java home is not the JDK, this may not work.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383064 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 06:56:39 +00:00
Hiram R. Chirino
477984fd4f
simplified a little.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383040 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 05:27:32 +00:00
Hiram R. Chirino
0bba31190e
organized imports.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383015 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 03:42:22 +00:00
Hiram R. Chirino
c60ac2ff62
Fixing up http://jira.activemq.org/jira/browse/AMQ-615
...
- We now close the consumers created by a pooled session when the session is closed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383014 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 03:41:51 +00:00
Hiram R. Chirino
7f9f040835
No need to clean up connection if it's being closed.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382960 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 23:16:53 +00:00
Hiram R. Chirino
375469bac7
disabled the inactivity monitor by default for now.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382954 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 22:54:52 +00:00
Hiram R. Chirino
44b00e9309
- Improved the delete and purge operations on a queue.
...
- Messages now removed from the message list: fixes message count < 0 problem
- Messages are now locked before they are deleted, if messages are in flight to a consumer, we don't want to delete them.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382919 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 20:07:07 +00:00
Robert Davies
9c5680c9f6
don't remove connection info from broker if the transport has failed
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382913 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 19:24:16 +00:00
Robert Davies
62c28d1b77
Added methods to create/destroy durable subscriber
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382890 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 17:20:19 +00:00
James Strachan
dc168c055b
fixed NPE
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382888 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 17:08:40 +00:00
Hiram R. Chirino
7f5213ba99
Standardize on throwing Exception instead of Throwable, we were using both forms throught the API
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382869 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 15:36:38 +00:00
James Strachan
99c1a67a28
refactor of the TcpTransport so that the timeout and buffer size can be configured via properties before the socket is used after the start() method is called.
...
this also fixes AMQ-610
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382846 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 15:02:54 +00:00
James Strachan
178515aa32
added an alternative eviction strategy
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382830 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 14:18:34 +00:00
Hiram R. Chirino
9c1a5fa6a2
bad testcase, transport was never started.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382824 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 13:59:11 +00:00
James Strachan
fa430aaae0
minor refactor to make it easier to add extra startup features
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382821 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 13:58:06 +00:00
James Strachan
062dc5681c
added better MBeans for topic subscriptions so that they can see the discarded and matched statistics. Also added a configurable MessageEvictionStrategy
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382816 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 13:56:29 +00:00
James Strachan
4dad3fc833
removed old comment
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382754 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 10:36:32 +00:00
James Strachan
bed10aac1e
allowed the maximum pending message count to be specified on the ActiveMQPrefetchPolicy or the ConsumerInfo
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382753 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 10:34:33 +00:00
Robert Davies
6d003a89e2
tidied up some of the synchronization
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382746 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 10:06:41 +00:00
Hiram R. Chirino
c916749e78
Don't use the inactivity monitor when the stomp protocol is in use.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382741 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 09:49:07 +00:00
James Strachan
e87f4c9106
reset the logging level
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382738 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 09:40:29 +00:00
James Strachan
4e28bcea8f
added example of setting the pendingMessageLimitStrategy
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382708 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 07:39:59 +00:00
Robert Davies
2867249482
log when discarding messages - and ensure we don't get npe
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382692 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 06:50:38 +00:00