Commit Graph

3696 Commits

Author SHA1 Message Date
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
Timothy Bish 6f34622cd9 ARTEMIS-1153 Adds new .NET client example for durable subscriptions
Adds an example for managing durable subscriptions using the .NET
AmqpNetLite client that subscribes, looks up and removes a durable topic
subscription.
2017-05-08 18:39:00 -04:00
Clebert Suconic ce61d20f5a [maven-release-plugin] prepare for next development iteration 2017-05-08 15:20:12 -04:00
Clebert Suconic 64e8f015ee [maven-release-plugin] prepare release 2.1.0 2017-05-08 15:20:01 -04:00
Clebert Suconic b9518085e1 NO-JIRA: small update on Releasing procedure 2017-05-08 14:52:27 -04:00
Clebert Suconic c53f6168c9 ARTEMIS-898 Documenting where to add the plugin jar 2017-05-08 14:52:27 -04:00
Clebert Suconic 890e381371 NO-JIRA: bumping 2.2.0-SNAPSHOT release on extra-tests 2017-05-08 12:06:18 -04:00
Clebert Suconic bf9401b59d This closes #1258 2017-05-08 12:03:06 -04:00
Christopher L. Shannon (cshannon) 3bfbaf419c ARTEMIS-898 - Adding documentation for Plugin support
Started a new chapter in the user manual for plugin support
2017-05-08 12:03:05 -04:00
Clebert Suconic 117d92bc94 This closes #1257 2017-05-08 11:59:41 -04:00
Christopher L. Shannon (cshannon) 9fdba8292f ARTEMIS-898 - Adding support for XML configuration of Broker Plugins
Broker plugins can now be added to the broker through XML config.
2017-05-08 11:59:41 -04:00
Clebert Suconic 6984d39a99 This closes #1256 2017-05-08 11:57:41 -04:00
Francesco Nigro 21c9ed85cf ARTEMIS-1151 Adapting TimedBuffer and NIO Buffer Pooling
- NIO/ASYNCIO new TimedBuffer with adapting batch window heuristic
- NIO/ASYNCIO improved TimedBuffer write monitoring with
  lightweight concurrent performance counters
- NIO/ASYNCIO journal/paging operations benefit from less buffer copy
- NIO/ASYNCIO any buffer copy is always performed with raw batch copy
  using SIMD instrinsics (System::arrayCopy) or memcpy under the hood
- NIO improved clear buffers using SIMD instrinsics (Arrays::fill) and/or memset
- NIO journal operation perform by default TLABs allocation pooling (off heap)
  retaining only the last max sized buffer
- NIO improved file copy operations using zero-copy FileChannel::transfertTo
- NIO improved zeroing using pooled single OS page buffer to clean the file
  + pwrite (on Linux)
- NIO deterministic release of unpooled direct buffers to avoid OOM errors
  due to slow GC
- Exposed OS PAGE SIZE value using Env class
2017-05-08 11:55:28 -04:00
Clebert Suconic 36c9659279 [maven-release-plugin] prepare for next development iteration 2017-05-05 22:11:09 -04:00
Clebert Suconic 7b5082639f [maven-release-plugin] prepare release 2.1.0 2017-05-05 22:10:58 -04:00
Clebert Suconic c084717bf7 [ARTEMIS-1141] Allowing release to process on features/verify
maven release wouldn't complete as it would need to
download the new release before it was even ready.
Setting the phase to install fixed the issue.
2017-05-05 21:28:41 -04:00
Clebert Suconic 7c96ab6bd7 ARTEMIS-1150 fixing logging with spaces on windows service 2017-05-05 18:01:33 -04:00
Clebert Suconic a915e8b904 ARTEMIS-1150 Fixing logging with spaces 2017-05-05 16:08:30 -04:00