Commit Graph

68 Commits

Author SHA1 Message Date
Christian Posta 0bfa0cdf1a Fix for https://issues.apache.org/jira/browse/AMQ-4272 updated queueConsumers.jsp to only allow the link to connection page for connections directly to the broker, but go to network.jsp for bridge consumers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1439193 13f79535-47bb-0310-9956-ffa450edef68
2013-01-27 21:44:55 +00:00
Gary Tully 8012f28511 https://issues.apache.org/jira/browse/AMQ-4276 - deal with destnotexist for temps. support alwaysSyncSend for duplex. improve reporting of failures. additional test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1438734 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 21:47:17 +00:00
Timothy A. Bish c5184983cf apply fix and updated test for: https://issues.apache.org/jira/browse/AMQ-4148
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1438123 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 18:39:09 +00:00
Bosanac Dejan 61cbe46fc6 https://issues.apache.org/jira/browse/AMQ-4271 - virtualSelectorCacheBrokerPlugin support for consumers with no selectors
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1438032 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 14:54:49 +00:00
Timothy A. Bish 5d4d7487e4 Add some methods for creating destination queries
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434926 13f79535-47bb-0310-9956-ffa450edef68
2013-01-17 21:43:10 +00:00
Gary Tully 1cd3bd8d95 add license header
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434909 13f79535-47bb-0310-9956-ffa450edef68
2013-01-17 20:42:46 +00:00
Gary Tully aa1310c70c add PersistenceAdapterView
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434906 13f79535-47bb-0310-9956-ffa450edef68
2013-01-17 20:41:40 +00:00
Gary Tully 3bffaf7e4c rudimentary generic persistence adapter mbean view - help show data and transaction info - usefull when blocked on usage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434903 13f79535-47bb-0310-9956-ffa450edef68
2013-01-17 20:40:23 +00:00
Timothy A. Bish 1898869fbc apply patch for: https://issues.apache.org/jira/browse/AMQ-4121
Allows for more user customization of MemoryUsage if desired.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434849 13f79535-47bb-0310-9956-ffa450edef68
2013-01-17 18:27:51 +00:00
Timothy A. Bish 1958aeb069 https://issues.apache.org/jira/browse/AMQ-4248
Don't swallow the exception.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1432963 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 15:57:05 +00:00
Timothy A. Bish ae61847d02 https://issues.apache.org/jira/browse/AMQ-4248
Add expanded transmit callback interface so that a failure to transmit can be distinguished from normal operation and allow for no further attempts at dispatch fixing the current NPE when async dispatch is enabled. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1432487 13f79535-47bb-0310-9956-ffa450edef68
2013-01-12 18:13:27 +00:00
Timothy A. Bish 5b5bc45b17 fix for: https://issues.apache.org/jira/browse/AMQ-4238
ensure we clean up when the ManagementContext gets shut down. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1432112 13f79535-47bb-0310-9956-ffa450edef68
2013-01-11 15:56:08 +00:00
Gary Tully 109cbe0993 https://issues.apache.org/jira/browse/AMQ-4248 - ensure iter is cleared when we are done, i.e. on call to release
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431660 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 21:27:47 +00:00
Gary Tully 7d7d6fa08a fix typo in utility class name
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431374 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 14:15:15 +00:00
Gary Tully aaa81deb40 https://issues.apache.org/jira/browse/AMQ-3438 - keep both mbean names, by remoteaddress and by clientid - as navigation between subs and connections uses the clientid but remote connection info based on address has real value to opts. https://issues.apache.org/jira/browse/AMQ-4237 - partition both address types using connectionViewType=remoteAddress|clientId and add clientId to connetionView - now easier to see connections under a clientConnector
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431369 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 14:04:40 +00:00
Gary Tully 99682093d9 https://issues.apache.org/jira/browse/AMQ-3438 - update so we only register a conneciton mbean once, default by remote address or by client id - ManagementContext#allowRemoteAddressInMBeanNames=false (once connectionInfo is received)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431319 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 12:33:56 +00:00
Timothy A. Bish 63a660ac04 https://issues.apache.org/jira/browse/AMQ-4237
To support the bean renaming effort this pulls together the various code that create all our MBean names and puts them into one location which could later add supporting methods to create MBean queries for the unit tests etc.  This should make it simpler to iron out the naming as we go.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430908 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 15:48:15 +00:00
Timothy A. Bish 9a3bd32e90 clean up imports.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430340 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 15:51:37 +00:00
Gary Tully e3626e19bc https://issues.apache.org/jira/browse/AMQ-4237 - resolve unit test regressions for dynamic networkBridge mbeans
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430266 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 13:13:27 +00:00
Timothy A. Bish 3cd8da80a6 fixes: https://issues.apache.org/jira/browse/AMQ-4246
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1429878 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 16:19:35 +00:00
Timothy A. Bish b5625e31ee Add in a log4j properties file for the tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1429141 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 21:40:32 +00:00
Timothy A. Bish b2de5f310f code fix and test fix for: https://issues.apache.org/jira/browse/AMQ-4225
NetworkBridge MBeans weren't getting registered because of changes in the Broker MBean naming.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1429064 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 19:53:47 +00:00
Gary Tully 69d8258308 fix up master advisory, advisories are only fired after broker is fully started so the nowMaster advisory needs to ocurr after start rather than as part of persistence adapter start, resolves org.apache.activemq.broker.ft.QueueMasterSlaveTestSupport#testAdvisory failures
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428397 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 15:17:35 +00:00
Timothy A. Bish e60087608e code fix and test fix for: https://issues.apache.org/jira/browse/AMQ-4225
AbortSlowConsumerStrategy was broken due to a malformed ObjectName being created when the strategy was registered on-demand. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428051 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 21:09:36 +00:00
Bosanac Dejan d0fb549f2c additional fix for VMTransportWaitForTest test failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1425958 13f79535-47bb-0310-9956-ffa450edef68
2012-12-26 15:47:01 +00:00
Bosanac Dejan 428a0631d3 fix for VMTransportWaitForTest test, prevent broker from being started twice
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1425904 13f79535-47bb-0310-9956-ffa450edef68
2012-12-26 13:36:59 +00:00
Robert Davies c37859a80a Fix for https://issues.apache.org/jira/browse/AMQ-4237
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1425871 13f79535-47bb-0310-9956-ffa450edef68
2012-12-26 10:53:41 +00:00
Gary Tully bc45bf8065 https://issues.apache.org/jira/browse/AMQ-4234 https://issues.apache.org/jira/browse/AMQ-4235 - ensure prefetch set via consumer control gets interepreted by policy such that defaults can be overidden, tidy up default prefetch values choices for stomp so they can pick up broker overrides
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1424936 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 14:41:23 +00:00
Bosanac Dejan fb5a97276b fix mbean test failure - get values in the right order from the pending list
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1424435 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 12:44:59 +00:00
Robert Davies 87871346c2 Added additional health checks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1424367 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 08:38:01 +00:00
Timothy A. Bish d21b32e748 Fix BrokerService no longer setting started flag back to false when stop finishes causing some tests to fail.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1424019 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 18:45:20 +00:00
Bosanac Dejan 7400977609 https://issues.apache.org/jira/browse/AMQ-4222 - remove region reference for all mutable producer exchanges (and some more refactorings)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1423834 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 11:41:17 +00:00
Gary Tully 0f3ce45cff fix up test regression causing hang broker needs to be started and stopped for jdbc pa test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1423828 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 11:25:04 +00:00
Timothy A. Bish df2c7bdad4 remove now unused variable.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1423692 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 22:06:12 +00:00
Timothy A. Bish a4be10c146 fix for: https://issues.apache.org/jira/browse/AMQ-3757
fix for: https://issues.apache.org/jira/browse/AMQ-3707
fix for: https://issues.apache.org/jira/browse/AMQ-4024

Add a strategy class for use in constructing the Published connect string for a transport connector.  Allows for setting whether the connector will send IP addres, hostname or FQDN along with configurable transport query options which allows control of client side transport and wireformat settings. User can override with their own version to further customize. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1423655 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 21:15:07 +00:00
James Strachan 973909ab44 refactored mbean name and properties to more comply with https://github.com/hawtio/hawtio/blob/master/doc/HealthMBeans.md#health-mbeans and make it a little more descriptive for users
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1422953 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 14:42:44 +00:00
Gary Tully 95e6d6074f https://issues.apache.org/jira/browse/AMQ-4224 - have broker update zero prefetch on consumer so that it can issue a pull request as appropriate
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1422873 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 11:48:01 +00:00
Christian Posta e07d29c962 Fix for https://issues.apache.org/jira/browse/AMQ-4222
ProducerBrokerExchange holds reference to "region" destination after message has been sent

Can cause leak with temp dests

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1421994 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 17:42:45 +00:00
Timothy A. Bish f21992ef41 apply fix for: https://issues.apache.org/jira/browse/AMQ-4068
Updated patch for new layout and fixed size returned to only include the dynamic journal size and not the total disk usage since that accounts for the full log file size and not just the used portion. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1421557 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 21:43:50 +00:00
Timothy A. Bish 05fb2bbcc9 Add warning about long destination names and mKahaDB for:
https://issues.apache.org/jira/browse/AMQ-4183 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1420778 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 15:41:03 +00:00
James Strachan 1797ce98e3 made minor update to the StatusView mbean to comply with these health mbean conventions https://github.com/hawtio/hawtio/blob/master/doc/HealthMBeans.md#health-mbeans
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1420092 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 10:56:19 +00:00
Hiram R. Chirino 32e63dce28 Fixes AMQ-4215: Simplify PList interface and provide a LevelDB store implementation.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1418686 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 15:21:14 +00:00
Christian Posta 96f29456e9 Fix for https://issues.apache.org/jira/browse/AMQ-4190 - Figure out what was intended with transactions and producer flow control for topics
Fix the counter so the logging happens

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1418378 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 16:19:08 +00:00
Christian Posta 25d396b589 Fix for:
https://issues.apache.org/jira/browse/AMQ-4209 - NetworkConnector and NetworkBridgeConfiguration have same named private variables for excludedDestination
https://issues.apache.org/jira/browse/AMQ-4210 -DynamicallyIncludedDestinations is not enforced for the other end of duplex bridge

excludedDestinations
dynamicallyIncludedDestinations
staticallyIncludedDestinations
Updated some tests: request-reply with temp dest is not supported with dynamicallyAddedDestinations ATM

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1418373 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 16:13:49 +00:00
Bosanac Dejan 75f8f6970b https://issues.apache.org/jira/browse/AMQ-4181 - don't let queue refs go negative
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1417333 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 09:37:33 +00:00
Bosanac Dejan 5bfbc542b1 https://issues.apache.org/jira/browse/AMQ-4181 - remove the browser imidiatelly when finished
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1417331 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 09:37:16 +00:00
Bosanac Dejan db1e6d1cb7 https://issues.apache.org/jira/browse/AMQ-3935 - always page in messages when browsing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1417328 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 09:28:48 +00:00
Gary Tully c6cf88b836 https://issues.apache.org/jira/browse/AMQ-3894 - remove requirement for destination property enforced by spring - for a default entry there is no need for a destination - fix dependants
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1415661 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 14:48:08 +00:00
Christian Posta 915d66dec5 https://issues.apache.org/jira/browse/AMQ-4198 Include username in ConnectionInfo for ActiveMQ.Advisory.Connection messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1415631 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 13:42:48 +00:00
James Strachan 3cf129a79f added a more jolokia friendly statusList() method which returns nicer JSON for the status query
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1415594 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 12:21:21 +00:00