Commit Graph

1249 Commits

Author SHA1 Message Date
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
Clebert Suconic 25fc24dfa0 This closes #131 checkstyle 2015-08-16 22:56:36 -04:00
Ville Skyttä 4eb4bb7228 Update checkstyle config DTD to 1.3
Checkstyle versions at least down to 5.2 use this.
2015-08-16 15:44:47 +03:00
Ville Skyttä e46dd5f6f9 Suppress unfixable checkstyle violations in JavaCC generated sources 2015-08-16 15:36:05 +03:00
Ville Skyttä 9be47ad145 Remove redundant abstract modifier 2015-08-16 15:31:35 +03:00
Ville Skyttä eb407389a6 Update maven-checkstyle-plugin to version 2.16 2015-08-16 15:26:15 +03:00
Ville Skyttä ff79af3117 Update URL to checkstyle checks documentation 2015-08-16 15:22:49 +03:00
Clebert Suconic 6665e58370 This closes #130 fixes 2015-08-14 19:49:10 -04:00
jbertram 976174305e ARTEMIS-209 fix keepAlive 2015-08-14 16:20:10 -05:00
jbertram cbebbc43fd Fix ReplicatedLargeMessageWithDelayFailoverTest 2015-08-14 16:20:06 -05:00
Clebert Suconic 3dd9ce6b0c This closes #129 openwire perf tests 2015-08-14 15:39:45 -04:00