Commit Graph

1059 Commits

Author SHA1 Message Date
Clebert Suconic 0f8750573c test fix on DuplicateCacheTest
Waiting for proper executor to finish
2015-08-31 19:49:01 -04:00
Clebert Suconic b53cce1c24 adding authorization on default settings
This is because we need that to perform import operations
2015-08-31 18:24:37 -04:00
Clebert Suconic 623b08c0eb This closes #148 lock on tool rework 2015-08-31 17:39:16 -04:00
Clebert Suconic 511bfc7e15 ARTEMIS-187 Hold lock between server running and data tools to avoid data damaged 2015-08-31 17:38:43 -04:00
Clebert Suconic dab882030c This closes #147 HTTPS upgrade 2015-08-31 16:16:56 -04:00
jbertram 853d3665df ARTEMIS-206 HTTP Upgrade does not work over HTTPS 2015-08-31 14:30:25 -05:00
Clebert Suconic ce924b7ef0 small improvement on topic hierarchies example 2015-08-31 14:48:41 -04:00
Howard Gao 1642a856c3 Fix thread leak in test TransactionContextTest
This leak happens with amq5.12.0. It didn't happen
  with amq5.11.1. Adding connection.start() can work
  around this seemingly 5.12.0 issue.
2015-09-01 00:17:36 +08:00
Clebert Suconic cc9cacef14 fixing openwire tests
I removed some valid code while removing dead code.
2015-08-31 08:14:25 -04:00
Clebert Suconic ea3fef4e52 This closes #145 2015-08-30 22:50:55 -04:00
Howard Gao 638674bce0 Minor refactor of OpenWireProtocolManager
In addDestination() put the security check right before
  actual queue creation. That'll also fix BasicSecurityTest
  regression.
2015-08-31 10:37:28 +08:00
Clebert Suconic 7f3c9dc1f0 Fixing examples on windows
Some of the broker.xml were using path that was not valid on windows
2015-08-30 20:03:32 -04:00
Clebert Suconic 9cf4c18ea5 removing more dead code on openwire
(classes without any implementation detail, no code usage or duplicate meaning)
2015-08-28 19:33:35 -04:00
Clebert Suconic aecea5142d This closes #144 2015-08-28 19:01:46 -04:00
Clebert Suconic 343ed61e14 removing more dead code on openwire 2015-08-28 17:10:24 -04:00
jbertram 5818de8de9 This closes #143 2015-08-28 14:33:23 -05:00
Clebert Suconic e850e1351d Removing dead code - AMQSEcurityContext 2015-08-28 15:05:44 -04:00
Clebert Suconic 738b15d0ae Removing deadcode on openwire AMQSubscription 2015-08-28 15:05:44 -04:00
Clebert Suconic ebb91edd42 Removing dead code on openwire - DestinationStatistics & AuthorizationPolicy 2015-08-28 15:05:43 -04:00
Clebert Suconic 5f16adde43 removing dead code on openwire - AMQPersistenceAdapter & AMQMessageStore 2015-08-28 15:05:43 -04:00
Clebert Suconic 8927456d21 removing dead code - NotenoughBytesException 2015-08-28 15:05:42 -04:00
Clebert Suconic 12de35892a Removing dead code - AMQPBrokerStoppedException 2015-08-28 15:05:42 -04:00
Clebert Suconic 04ca86c3dd removing more dead code on openwire implementation 2015-08-28 15:05:41 -04:00
Clebert Suconic 3fbf75b2ff removing dead code on openwire implementation 2015-08-28 15:05:41 -04:00
Clebert Suconic 8d98fc395f Refactoring Auth
this is doing some refactoring, making the SecurityStore mechnism possible to be reused on other protocols,
without forcing them to implement ServerSession on checks that won't fit the Server Model from Artemis
2015-08-28 15:04:59 -04:00
Clebert Suconic b91b5a1aae This closes #142 Remove destination 2015-08-28 14:19:57 -04:00
Howard Gao be9959e0bc ARTEMIS-191 Refactor RemoveDestinationTest
-Using core api to inspect queue status
  -Catch command visit() exceptions in order to
   pass it back to client.
  -Correct destination add/remove handlings
2015-08-28 20:33:38 +08:00
jbertram 40f318f083 This closes #141 2015-08-27 15:17:47 -05:00
Clebert Suconic 9794569675 enclosing IPV6 in the case of openWire as well 2015-08-27 15:56:43 -04:00
Clebert Suconic 55712d7988 Adding a simple test for IPV6 parsing & serialization 2015-08-27 15:36:52 -04:00
Clebert Suconic 51af54c0e5 This closes #140 ipv6 fix over URI serialization 2015-08-27 15:29:21 -04:00
jbertram c08d791216 ARTEMIS-212 Unable to parse IPv6 address 2015-08-27 15:29:21 -04:00
Clebert Suconic bdd04ebc53 This closes #138 JNDI Name on XARecoveryConfig 2015-08-27 14:09:33 -04:00
Martyn Taylor a6e513c23b Pass JNDI name in XARecoveryConfig
Some TX managers require JNDI name for recovery purposes.  This patch
passes JNDI name in RA to RecoveryRegistry implementations via
XARecoveryConfig objects.
2015-08-27 14:09:33 -04:00
Clebert Suconic 33a5e29fbc This closes #139 openwire interop fix 2015-08-27 09:40:37 -04:00
Andy Taylor 2f18b4cbfc ARTEMIS-193 - OpenWire protocol only works with messages received over openwire
Fix the address conversion between protocols so its consistent

https://issues.apache.org/jira/browse/ARTEMIS-193
2015-08-27 10:23:38 +01:00
Clebert Suconic b1f1c5a961 This closes #137 openwire exclusions on testsuite 2015-08-26 09:49:58 -04:00
Howard Gao 99db9f1cbd Exclude 2 activemq5 openwire tests that purely test on client side 2015-08-26 19:54:19 +08:00
Clebert Suconic 4b79ddb0bd ARTEMIS-209 fix keepAlive
- Received should be set to true on any package
2015-08-25 18:56:14 -04:00
Clebert Suconic 2b45d6eb9e Adding simple test sending core & consuming OpenWire 2015-08-25 08:31:24 -04:00
Clebert Suconic 54d9a3e9bc This closes #135 openwire changes on BrokerInfo 2015-08-24 23:04:14 -04:00
Clebert Suconic 8935483cdd ARTEMIS-208 fixing BrokerInfo, using OpenWire connection instead of static property on the protocolManager 2015-08-24 22:54:59 -04:00
Howard Gao 34e127cc0c ARTEMIS-208 BrokerInfo issue, also:
enlarged the default max size for tests to avoid send blocking.
2015-08-24 22:54:12 -04:00
Clebert Suconic 7dfde208ca another small change on bootstrap 2015-08-24 21:44:49 -04:00
Clebert Suconic cdc6133327 small change on return from Bootstrap
- Embedding clients could eventually need the return from the execute method
2015-08-24 21:35:56 -04:00
Clebert Suconic 436df8afdd This closes #134 Improving bootstrap 2015-08-24 21:31:51 -04:00
Clebert Suconic 0771ba511c Improving bootstraping / CLI
- Added a method on Bootstrap class that could be used on embedding a server
2015-08-24 21:30:03 -04:00
Clebert Suconic a440682ec0 upgrading activemq openwire client 2015-08-24 20:09:33 -04:00
Clebert Suconic 029c112630 This closes #133 RA Load balancing 2015-08-24 20:08:25 -04:00
jbertram 7a1199c475 ARTEMIS-210 outbound RA connection load-balancing
Inbound sessions are always created from the same ActiveMQConnectionFactory
which means the load-balancing policy is applied to them in the expected
manner. However, outbound sessions are created from independent, unique
ActiveMQConnectionFactory instances which means that the load-balancing
doesn't follow the expected pattern.

This commit changes this behavior by caching each unique
ActiveMQConnectionFactory instance and using it for both inbound and outbound
sessions potentially. This ensures the sessions are load-balanced as
expected.
2015-08-24 18:24:04 -05:00