Michael André Pearce
9b01e9521c
ARTEMIS-2263 Support queue level auto-delete configuration
...
Add ability to configure when creating auto created queues at the queue level
Add support for configuring message count check
Add test cases
Update docs
2019-02-27 08:13:19 +00:00
Clebert Suconic
4c84b119cc
This closes #2565
2019-02-25 20:12:21 -05:00
Clebert Suconic
da3d7a2940
ARTEMIS-2243 Fixing ClassLoding and dependency to security domain on method parameter
2019-02-25 20:12:20 -05:00
Clebert Suconic
299e444009
This closes #2567
2019-02-25 20:11:04 -05:00
Clebert Suconic
9f6f36d041
ARTEMIS-2183 Fixing RefsOperation on consumers and adding test
2019-02-25 17:23:47 -05:00
Otavio R. Piske
a1d10c02f9
ARTEMIS-2183 Useless statement in public synchronized List
...
Ensures that the returned list returns the refsToAck list instead of
trying to add all items of itself
This closes 2566
2019-02-25 17:23:34 -05:00
Michael Andre Pearce
0cf29fefc8
This closes #2563
2019-02-23 05:50:57 +00:00
Michael André Pearce
33d9edf525
NO-JIRA Document reloading when using modularised broker.xml
2019-02-23 05:50:56 +00:00
Michael Andre Pearce
073eef4291
This closes #2562
2019-02-23 05:45:59 +00:00
Michael André Pearce
ffa5a3718f
NO-JIRA Document reloading when using modularised broker.xml
...
Add docs to clarify the need to touch broker.xml for modularised config to reload
2019-02-23 05:44:08 +00:00
Clebert Suconic
35e0b3fca2
This closes #2529
2019-02-22 10:19:52 -05:00
Otavio R. Piske
b0a148158d
ARTEMIS-2260 Refactor the library build code
...
This refactoring changes the native library build code to allow cross-compilation
and brings the following changes:
- Fix the link target to the one that was actually found by find_library
- Replace add definitions with standard CMake C flags handling options. Among
other things, this allow greater control over which compiler flags are used
and makes it easier to turn on/off debug flags by manipulating the
CMAKE_USER_C_FLAGS variable as documented in the README
- Updates the CMake scripts to allow cross-compilation of the artemis
native library into x86 32-bit code when building on a x86 64-bit system
- Updates the library documentation
- Defines C99 as the C standard in use so that the native library code can be
compiled in older GCC versions
- Renames the readme file so it can be better visualized on the web
2019-02-22 10:18:51 -05:00
Clebert Suconic
3de8b7bd96
This closes #2530
2019-02-22 10:11:22 -05:00
Otavio Rodolfo Piske
308486ad8e
ARTEMIS-2260 Refactor the context initialization code
...
The code is adjusted to ensure proper release of allocated memory when
failure occurs.
It also moves the common IOCB cleanup logic to allow reuse in the
deleteContext method.
2019-02-22 10:11:00 -05:00
Otavio Rodolfo Piske
24b3f08c88
ARTEMIS-2260 Fix an incorrect cleanup of the AIO I/O context.
...
Since the context is initialized on the stack, calling free on it is
incorrect and can lead to memory corruption. This replaces the cleanup
routines w/ io_queue_release which is the appropriate way to cleanup the
context.
2019-02-22 10:10:53 -05:00
Otavio Rodolfo Piske
6dafedb6af
ARTEMIS-2260 Prevent a null pointer dereference if unable to allocate memory for the
...
events member of the control structure. This could also cause the broker
to abruptly shutdown.
2019-02-22 10:10:39 -05:00
Otavio Rodolfo Piske
584a610f6a
ARTEMIS-2260 Fixes a potential NULL pointer dereference on the thin library
...
If the code fails to allocate native memory for the error message, it
will still perform the call to strcpy, which will result in a
segmentation fault to occur. This may cause the JVM to shutdown abruptly
potentially causing the original root cause to be hidden.
2019-02-22 10:10:28 -05:00
Clebert Suconic
059e56eb6a
This closes #2545
2019-02-21 19:59:26 -05:00
Francesco Nigro
c77e64a574
ARTEMIS-2245 Cleaning up Docker images preparation, run and docs
2019-02-21 19:59:25 -05:00
Clebert Suconic
75cebe90b4
This closes #2548
2019-02-21 19:58:35 -05:00
Michael André Pearce
c4e68b6046
ARTEMIS-2118 Enhanced Message Groups Support
...
Support using group buckets on a queue for better local group scaling
Support disabling message groups on a queue
Support rebalancing groups when a consumer is added.
2019-02-21 19:58:34 -05:00
Clebert Suconic
fead3e226f
This closes #2560
2019-02-21 15:04:44 -05:00
Otavio R. Piske
16909584c3
ARTEMIS-1952 NPE logged at warn if MQTT subscriber disconnects abruptly
...
Prevent a NullPointerException if no connection by the given clientId is
found on the cache of stored sessions
2019-02-21 19:36:37 +01:00
Clebert Suconic
951a061555
This closes #2557
2019-02-20 17:11:59 -05:00
Otavio R. Piske
6d65975f36
NO-JIRA Removes redundant initializers
2019-02-20 17:11:41 -05:00
Otavio R. Piske
69582ef642
NO-JIRA Inline some variables to simplify the code flow
2019-02-20 17:11:36 -05:00
Otavio R. Piske
d2bf02082f
NO-JIRA Simplify the assignment of the initialConnectors
2019-02-20 17:11:22 -05:00
Otavio R. Piske
3dce4e645a
NO-JIRA Remove unnecessary semicolon
2019-02-20 17:11:06 -05:00
Otavio R. Piske
eb582a676f
NO-JIRA Remove redundant modifiers
2019-02-20 17:11:00 -05:00
Clebert Suconic
38229dcbd0
This closes #2556
2019-02-20 17:04:52 -05:00
Clebert Suconic
285848969f
ARTEMIS-2251 Using Callbacks to delete large messages from IO
...
This closes #2549
2019-02-20 17:04:37 -05:00
Clebert Suconic
43c0868d72
NO-JIRA Improve test
2019-02-20 08:40:39 -05:00
Clebert Suconic
a68381904f
This closes #2552
2019-02-19 17:34:59 -05:00
Jiri Danek
b8df8dead3
NO-JIRA Fix a "Dereference null return value" Coverity Scan warning
...
The value checked for null was not the one that was subsequently used.
2019-02-19 17:34:59 -05:00
Clebert Suconic
8ff0cba3d6
This closes #2555
2019-02-19 16:10:40 -05:00
Clebert Suconic
d59bdca73f
ARTEMIS-2256 Update Topology back after a bridge reconnected
...
https://issues.apache.org/jira/browse/ARTEMIS-2256
2019-02-19 16:10:40 -05:00
Clebert Suconic
a797b7e5df
This closes #2553
2019-02-19 14:46:59 -05:00
Jiri Danek
99e39f5f1c
NO-JIRA Fix a "Inefficient Map Iterator" SpotBugs warning
...
https://spotbugs.readthedocs.io/en/stable/bugDescriptions.html#wmi-inefficient-use-of-keyset-iterator-instead-of-entryset-iterator-wmi-wrong-map-iterator
2019-02-19 14:46:58 -05:00
Clebert Suconic
5b535da984
This closes #2554
2019-02-19 14:46:15 -05:00
Justin Bertram
0cffe03d2e
ARTEMIS-2254 support useTopologyForLoadBalancing on JMS cf config
2019-02-19 14:46:15 -05:00
Clebert Suconic
d78cd81cc6
This closes #2551
2019-02-19 14:44:41 -05:00
Clebert Suconic
e1c1d6ef66
NO-JIRA Removing Debug Message from code
2019-02-19 14:44:40 -05:00
Michael Andre Pearce
603d72f4a0
This closes #2550
2019-02-14 13:42:14 +00:00
Jiri Danek
6fc6787227
NO-JIRA Fix a "Computation of average could overflow" SpotBugs warning
...
https://spotbugs.readthedocs.io/en/stable/bugDescriptions.html#im-computation-of-average-could-overflow-im-average-computation-could-overflow
2019-02-14 13:22:11 +01:00
Michael Andre Pearce
441c950302
This closes #2522
2019-02-14 00:20:52 +00:00
Francesco Nigro
4da9d84311
ARTEMIS-2239 Zero-copy NIO/MAPPED TimedBuffer
...
NIO/MAPPED journal types can use directly the buffer of TimedBuffer
to perform file writes, avoiding an expensive copy + zeroing.
2019-02-14 00:20:51 +00:00
Clebert Suconic
b80a78d885
ARTEMIS-1058 Fixing testsuite
...
Possible NPE that will happen on ReplicatedFailoverTest only
2019-02-12 09:42:31 +01:00
Clebert Suconic
8edca409f6
ARTEMIS-2246 Fixing testsuite
2019-02-08 18:42:02 -05:00
Justin Bertram
c41edf9bfd
This closes #2542
2019-02-07 15:20:04 -06:00
Michael André Pearce
efa48c9782
ARTEMIS-2081 listConfiguredQueues returns only queues created by config
...
Move configuration managed in persister before consumer dispatch so then the fix can be applied in 2.6.x branch safely.
2019-02-07 15:20:04 -06:00