Commit Graph

3639 Commits

Author SHA1 Message Date
James Perkins b1e4204a10 ARTEMIS-1144 Use the org.jboss.slf4j:slf4j-jboss-logmanager binding
to allow slf4j to bind to the jboss-logmanager/jul
2017-05-05 09:46:04 -04:00
Guillaume Nodet f46fa8b927 [ARTEMIS-1141] Fix some OSGi metadata issues 2017-05-05 08:18:39 +02:00
Clebert Suconic 955bba7ed0 This closes #1253 2017-05-04 22:05:54 -04:00
Clebert Suconic 92c84a1699 ARTEMIS-904 Fixing server running 2017-05-04 21:42:40 -04:00
Clebert Suconic 800976ec76 NO-JIRA: Trivial test fix on StompPluginTest 2017-05-04 15:58:15 -04:00
Justin Bertram b9e7e7ed9d This closes #1231 2017-05-04 10:36:22 -05:00
Bennet Schulz f82623a20c ARTEMIS-904 Remove cyclic dependencies from artemis-cli
move classes and methods to their correct location to avoid cyclic dependencies between packages and classes.

ARTEMIS-904 Remove cyclic dependencies from artemis-cli

move classes and methods to their correct location to avoid cyclic dependencies between packages and classes.

ARTEMIS-904 Remove cyclic dependencies from artemis-cli

move classes and methods to their correct location to avoid cyclic dependencies between packages and classes.
2017-05-04 10:25:06 -05:00
Justin Bertram eeca06d259 This closes #1252 2017-05-04 10:21:16 -05:00
Arthur Baars 7648b6fd9d Remove dangling git-link
The empty folder artemis-server/artemis-load-generator seems to be a
git submodule link. However, there is no submodule configuratation
file (ie .gitmodules) in this repository.

This caused the 'git submodule' command to fail with the following
error message:
fatal: no submodule mapping found in .gitmodules for path 'artemis-server/artemis-load-generator'
2017-05-04 10:21:15 -05:00
Justin Bertram fe7bbba481 This closes #1250 2017-05-04 10:19:49 -05:00
Bernd Gutjahr 7aa50546b3 ARTEMIS-1112: Fixed occasionally failing test
There was a typo in this test that could cause it to fail.
2017-05-04 11:18:56 +02:00
Guillaume Nodet e372c0a767 [ARTEMIS-1141] Fix some OSGi metadata issues
- do not export io.netty packages
  - import those packages with a correct import range
2017-05-04 09:28:07 +02:00
Clebert Suconic 2d7dbc501c This closes #1246 2017-05-03 16:40:16 -04:00
Bernd Gutjahr 6017e305d9 ARTEMIS-1112: Added wait-for-activation option to shared-store-master config
Added a wait-for-activation option to shared-store master HA policies.
This option is enabled by default to ensure unchanged server startup behavior.

If this option is enabled, ActiveMQServer.start() with a shared-store master server will not return
before the server has been activated.
If this options is disabled, start() will return after a background activation thread has been started.
The caller can use waitForActivation() to wait until server is activated, or just check the current activation status.
2017-05-03 16:40:15 -04:00
Clebert Suconic cdaae1578b This closes #1248 2017-05-03 16:33:12 -04:00
Timothy Bish cf3e2bf7f0 ARTEMIS-267 Add test for handling of AMQP header and durability
Adds a test that validates that messages that are either lacking a
header or are set to be non-durable are not persisted and are not
recovered on broker restart.
2017-05-03 16:33:12 -04:00
Clebert Suconic 0146109d6a ARTEMIS-1140: Trivial test fix 2017-05-03 16:17:32 -04:00
Guillaume Nodet 9e165d1733 [ARTEMIS-1141] Validate Karaf features using the karaf plugin 2017-05-03 22:06:32 +02:00
Justin Bertram dee143fd3d This closes #1247 2017-05-03 13:49:44 -05:00
Clebert Suconic 33f2ad65c9 ARTEMIS-1140 Avoid lock on queue for message counts 2017-05-03 13:49:44 -05:00
Clebert Suconic 3549377000 This closes #1244 2017-05-03 12:31:00 -04:00
Jeff Mesnil 15b913333f [ARTEMIS-1043] Support IPv6 in NettyConnector
Wrap the host added to the HTTP request headers with IPV6Util.encloseHost
to ensure that load balancers that reads the header will have a valid
IPv6 address.

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1043
2017-05-03 12:31:00 -04:00
Clebert Suconic 5391d42e47 This closes #1242 2017-05-03 12:17:01 -04:00
Christopher L. Shannon (cshannon) 1e1ede84c0 ARTEMIS-898 - Adding Plugin Support
Adding a new ActievMQServerPlugin interface to support adding custom
behavior to the broker at certain events such as connection or session
creation.

https://issues.apache.org/jira/browse/ARTEMIS-898
2017-05-03 11:21:32 -04:00
Clebert Suconic 303d97c76d NO-JIRA: Trivial test fixes 2017-05-03 10:32:22 -04:00
Clebert Suconic 2968e0a7da ARTEMIS-1102 Fixing Openwire test after security change 2017-05-03 10:06:45 -04:00
Clebert Suconic 174b238b28 NO-JIRA: Trivial test fix 2017-05-03 09:33:12 -04:00
Clebert Suconic 5073744679 This closes #1243 2017-05-02 21:18:07 -04:00
Timothy Bish ba7b8aff59 ARTEMIS-1139 Add a few tests using Qpid JMS of AMQP over WS
Adds a couple tests using Qpid JMS to validate that AMQP over
WS is working.
2017-05-02 21:18:07 -04:00
Clebert Suconic 757161f3d2 NO-JIRA: Trivial test fix 2017-05-02 21:16:10 -04:00
Justin Bertram 17d8918588 This closes #1241 2017-05-02 12:25:26 -05:00
Clebert Suconic 46c9cbe643 NO-JIRA: Adding script that will checkout a PR branch 2017-05-02 13:16:14 -04:00
Clebert Suconic 03bce9a120 This closes #1236 2017-05-02 13:01:29 -04:00
Timothy Bish 970782d36a ARTEMIS-1134 Close connection if error caught during event processing
If an error escapes into the event processing layer we close the
connection with an error condition to avoid the client becoming stuck on
waiting for a response from the broker and the broker side being in an
unknown state.
2017-05-02 13:01:29 -04:00
Clebert Suconic 6a251ee5c5 This closes #1237 2017-05-02 13:00:46 -04:00
Aditya Sharad 52a5b85557 ARTEMIS-1135: Prevent overflow in `DayCounter`
Use `long` array for hourly counters instead of `int` array.
Prevents overflow when the number of new messages (a `long`) is added.
Fixes one of the "Implicit narrowing conversion in compound assignment"
alerts on https://lgtm.com/projects/g/apache/activemq-artemis/alerts.
2017-05-02 13:00:46 -04:00
Aditya Sharad b998a8bdaf ARTEMIS-1135: Fix potential message count overflow
Have `AddressControlImpl::getMessageCount` use and return a `long`.
Prevents potential overflow from use of an `int` count variable.
Fixes one of the "Implicit narrowing conversion in compound assignment"
alerts at https://lgtm.com/projects/g/apache/activemq-artemis/alerts.
2017-05-02 13:00:46 -04:00
Aditya Sharad 33c94635bf ARTEMIS-1135: Fix integer multiplication overflows
Multiplication operations where the operands have type `int` but the
result is cast to `long` may lead to overflow.
Fixes two instances of this problem, by ensuring the operands are cast
to `long` during multiplication.
This resolves the "Result of integer multiplication cast to long"
alerts at https://lgtm.com/projects/g/apache/activemq-artemis/alerts.
2017-05-02 13:00:46 -04:00
Clebert Suconic 5a17fe0804 This closes #1239 2017-05-02 13:00:10 -04:00
Michael Andre Pearce 40fc2b7721 ARTEMIS-1138 OSGI Netty Epoll Fix
* update qpid jms to 0.22 to pick up epoll change there.
* update netty to 4.1.9 to avoid version issues as qpid also uses.
* add netty-transport-native-epoll bundle to netty-core feature
2017-05-02 13:00:10 -04:00
Clebert Suconic c1df97de66 This closes #1240 2017-05-02 11:38:09 -04:00
Justin Bertram 578c0fabb2 ARTEMIS-1137 handle empty routing type on restart 2017-05-02 10:06:42 -05:00
Justin Bertram e22f77d8ca This closes #1220 2017-05-02 08:49:45 -05:00
Zoran Regvart 6db0c50272
Removes deprecated use and raw types
This cleans up the Netty implementation by replacing deprecated usage
and adds type parameters to raw types used.
2017-05-02 11:00:56 +02:00
Clebert Suconic 938c7a1d99 This closes #1238 2017-05-01 10:09:34 -04:00
Francesco Nigro 2cdc62572b ARTEMIS-1136 Improve UnpooledUnsafeDirectByteBufWrapper 2017-05-01 10:09:33 -04:00
Clebert Suconic 6df8c3a28d Revert " ARTEMIS-1112: don't block live activation if another live server is running"
This reverts commit 2f175b8d4e.
2017-05-01 09:50:45 -04:00
Timothy Bish 7f70e4b6f8 This closes #1235 2017-04-28 15:50:17 -04:00
Justin Bertram 849c4b7def ARTEMIS-547 authorize AMQP sender on attach 2017-04-28 14:30:03 -05:00
Timothy Bish 90efd86133 ARTEMIS-547 tests for auth on attach 2017-04-28 13:10:10 -05:00