Commit Graph

3913 Commits

Author SHA1 Message Date
Guillaume Nodet 7e47dc3e07 [ARTEMIS-1176] Turn management reply messages into text messages 2017-05-23 09:39:09 -04:00
Clebert Suconic f84d9f811c This closes #1283 2017-05-18 13:28:07 -04:00
Clebert Suconic 830c3bf179 ARTEMIS-1169 Fixing protocol conversion
this will fix a few multiple protocol tests on ConsumerTests.
And a few other AMQP tests dealing with conversions.

You would get a classCastException without this commit.
2017-05-18 13:25:15 -04:00
Clebert Suconic a05e36ece1 This closes #1282 2017-05-18 12:10:43 -04:00
Michael Andre Pearce 1bd0a348a2 ARTEMIS-1129: Fixing tests after client all
Clean up shaded jar
Ensure aggregated notice
Ensure correct license file, 
remove noise from jgroups dependency (taken from infinispans shade config)
remove other loose ends.
2017-05-18 15:57:25 +01:00
Clebert Suconic 28314f3ca8 This closes #1281 2017-05-18 10:53:09 -04:00
Bennet Schulz 0de1e164e1 ARTEMIS-1174 Update Hacking Guide Documentation: IDE Integration
the IntelliJ import wizard doesn't contain a sentence
like:"Select "Import from existing model".

This should be changed to "import project from external model" to be
conform and the IntelliJ IDEA version should be updated, too.
2017-05-18 10:52:34 -04:00
Clebert Suconic c7ca494458 This closes #1280 2017-05-18 09:31:07 -04:00
Ulf Lilleengen 4f1308d2f0 ARTEMIS-1173: Don't set routing type if null 2017-05-18 09:31:07 -04:00
Clebert Suconic cc81cdf45d This closes #1278 2017-05-18 09:30:18 -04:00
Clebert Suconic bfc58d1079 ARTEMIS-1129 Fixing tests after client all
Shade is generating a file named dependency-reduced-pom.xml
and this is being considered with unaproved license.
2017-05-18 09:30:18 -04:00
Francesco Nigro 72ab99fc62 This closes #1279 ARTEMIS-1169 - Implement Interceptors for the AMQP protocol 2017-05-18 10:43:37 +02:00
Andy Taylor 22f4736c88 ARTEMIS-1169 - Implement Interceptors for the AMQP protocol
Add Outgoing call

https://issues.apache.org/jira/browse/ARTEMIS-1169
2017-05-18 08:40:43 +01:00
Clebert Suconic db8c567baa This closes #1277 2017-05-17 20:38:48 -04:00
Christopher L. Shannon (cshannon) 48a2dd1f45 ARTEMIS-1172 - Update beforeDeliver and afterDeliver method arguments
Adding ServerConsumer as an argument to both the beforeDeliver and
afterDeliver methods inside ActiveMQServerPlugin and deprecated the old
methods
2017-05-17 20:38:47 -04:00
Clebert Suconic 7b7a78249a This closes #1272 2017-05-17 18:05:22 -04:00
Michael Andre Pearce 9c6df111e8 ARTEMIS-1129: Client Dependencies
Update examples where only client used, to use the shaded single client jar.
2017-05-17 18:02:33 -04:00
Michael Andre Pearce 4ad931ae1b ARTEMIS-1129: Client Dependencies
Create shaded versions of the clients, so that end users have a single clean dependency to depend on.

Third party dependency's are re-packaged/relocated to avoid version / depedency issues.
2017-05-17 18:02:18 -04:00
Justin Bertram a7cc4f221a This closes #1275 2017-05-17 14:07:23 -05:00
Andy Taylor d17ef14c90 ARTEMIS-1169 - Implement Interceptors for the AMQP protocol
https://issues.apache.org/jira/browse/ARTEMIS-1169
2017-05-17 14:07:23 -05:00
Clebert Suconic 88cf826dca This closes #1276 2017-05-17 14:11:08 -04:00
Ingo Weiss 744221dcb5 [ARTEMIS-1171] Improve log readability around clustering
Issue: https://issues.apache.org/jira/browse/ARTEMIS-1171
2017-05-17 14:11:08 -04:00
Justin Bertram 97843a023f This closes #1271 2017-05-17 10:28:18 -05:00
Michael Andre Pearce a4e19b432b ARTEMIS-1164: NameNotFoundException when using java.naming.provider.url to set url via jndi
Support setting PROVIDER_URL on initial context to create default connection factories.
2017-05-17 10:28:18 -05:00
Clebert Suconic 044df11694 This closes #1274 2017-05-17 10:43:55 -04:00
Timothy Bish 3b49450cb6 ARTEMIS-1168 Update Qpid JMS and Proton-J to latest versions
Updates Qpid JMS to 0.23.0
Updates Proton-j to 0.19.0
2017-05-16 16:19:47 -04:00
Timothy Bish 1a621092f9 ARTEMIS-1167 Adds new broker AMQP idle timeout test
Test broker side handling of AMQP idle timeout
2017-05-16 14:35:36 -04:00
Clebert Suconic 17e3f6fb37 This closes #1269 2017-05-16 14:16:25 -04:00
klausboeing 7b5f141a4c ARTEMIS-1163 Refactory to polimorphic connectionfactory creation
Move logic to create a connectionfactory from the ActiveMQJMSClient class
to the JMSFactoryType enum to eliminate conditional logic in favor of polymorphism.
2017-05-16 14:13:05 -04:00
Timothy Bish 1463a51164 ARTEMIS-1166 Test client WS transport needs to handle continuations
Ensure that the test client WS transport handles continuation frames so
that partial binary payloads aren't dropped.
2017-05-16 11:10:11 -04:00
Clebert Suconic 39fc8cf141 This closes #1270
This PR was merged by @jbertram
I'm just adding an empty commit to make sure the PR is closed.
2017-05-15 16:49:27 -04:00
Michael Andre Pearce c6ac1d943c ARTEMIS-1164: NameNotFoundException when using java.naming.provider.url to set url via jndi
Support setting PROVIDER_URL on initial context to create default connection factories.
2017-05-15 15:20:53 -05:00
Clebert Suconic 502f9c544c ARTEMIS-1160 Fixing Checkstyle 2017-05-15 10:52:05 -04:00
Clebert Suconic 47e0cffc92 This closes #1267 2017-05-15 09:00:50 -04:00
Timothy Bish e872f1524a ARTEMIS-1160 AMQP test client should configure netty WS maxFrameSize
Need to configure the WS Handshaker in the test client's netty transport
with the same value given to the proton connection via setMaxFrameSize
so that incoming frames larger than the default 65535 over WS don't
trigger netty to fail the connection.
2017-05-12 14:48:23 -04:00
Clebert Suconic ac97d6f057 NO-JIRA: trivial test fixes on AMQP 2017-05-12 14:36:01 -04:00
Clebert Suconic 5e6687e0e2 This closes #1263 2017-05-12 10:06:43 -04:00
Clebert Suconic f1f4d4dec3 ARTEMIS-1156 Adding deprecated TypedProperties extending new location
We recently moved TypedProperties under ./util/collections
This is exposed through Messages so we added this as a deprecated option.

We also had to add this class on a separate commit from dc26ac96b4
to preserve git history on the new one.
2017-05-12 10:06:20 -04:00
Clebert Suconic dc26ac96b4 ARTEMIS-1156: moving our collections on its own package 2017-05-12 10:06:05 -04:00
Michael André Pearce c1d55aa84f ARTEMIS-1156: FIX: Long Autoboxing occurring on Hot Path
Building on ARTEMIS-905 JCtools ConcurrentMap replacement  first proposed but currently parked by @franz1981, replace the collections with primitive key concurrent collections to avoid auto boxing.

The goal of this is to reduce/remove autoboxing on the hot path.
We are just adding jctools to the broker (should not be in client dependencies)
Like wise targeting specific use case with specific implementation rather than a blanket replace all.

Using collections from Bookkeeper, reduces outside tlab allocation, on resizing compared to JCTools, which occurs frequently on testing.
2017-05-12 10:05:51 -04:00
Clebert Suconic b7b79e5dfd This closes #1266 2017-05-11 16:52:03 -04:00
Timothy Bish 4ad78c7fd0 ARTEMIS-1159 Fixes and Improvements to the AMQP test client.
Port fixes to the AMQP test client recently made in the 5.x version.
Fixes some thread safety issues in the Transport.  Ensures more 
timely shutdown of the Connection executor.  Uses a dynamic Proxy 
to generate Read-Only Proton wrappers instead of the hand crafted 
versions.  Adds additional logging for test data
2017-05-11 16:46:22 -04:00
Justin Bertram a98dccb35d This closes #1264 2017-05-11 12:17:06 -05:00
Clebert Suconic f328c24b94 ARTEMIS-1155 SequentialFiles leaking on JDBCSequentialFileFactory 2017-05-11 12:17:06 -05:00
Andy Taylor ec49c4310b This closes #1265 ARTEMIS-1154 tweak logic to support previous semantics 2017-05-11 16:56:22 +01:00
Justin Bertram 88e185d2b9 ARTEMIS-1154 tweak logic to support previous semantics 2017-05-11 09:54:28 -05:00
Clebert Suconic 02dcfe0468 ARTEMIS-1158 exposing Netty.channelID properly 2017-05-10 21:50:19 -04:00
Clebert Suconic ab6806c38b This closes #1260 2017-05-09 16:40:54 -04:00
Justin Bertram 5cb5c8a6dc ARTEMIS-1154 isolated backup fails over
Even if there is no address/url configured for the NetworkHealthCheck
an isolated backup will still fail-over potentially causing split-brain.
2017-05-09 14:43:17 -05:00
Clebert Suconic 80e4c09435 This closes #1259 2017-05-09 10:41:28 -04:00