Martyn Taylor
490ef71e1d
ARTEMIS-2055 Set Live LM to Null after route
...
The ServerSessionPacketHandler has a close() callback handler which will
delete any pending large messages. However, there is a race where a
large message can be routed, then the close delete the associated large
message resulting in data loss.
2018-08-27 12:56:53 +01:00
Christopher L. Shannon (cshannon)
87f393e597
ARTEMIS-2052 - Fix defaultConsumerWindowSize negotiation
...
First, QueueQuery should use address name for address settings
The name used for looking up address settings for a queue now uses the
address name if there is a local queue binding
Second, make sure sent credits to the server is the correct value
2018-08-26 18:25:47 -04:00
Clebert Suconic
6b1abd1aad
ARTEMIS-2053 avoiding data loss after compacting
2018-08-26 18:17:29 -04:00
Carsten Lohmann
95ec8ea433
ARTEMIS-2044 Add onSendException, onMessageRouteException to ActiveMQServerMessagePlugin
2018-08-24 21:35:34 +01:00
Clebert Suconic
63e6cd98f8
ARTEMIS-2046 Fixing issues with JournalStorageManager.stop in replication, JDBC and shared storage
2018-08-20 21:25:57 -04:00
Michael André Pearce
24a28da09f
ARTEMIS-2022 - Enhancements
...
Fix checkstyle
Avoid duplicated logic
Ability to filter and group
Instantiate SimpleString property key once
Get property value via getObjectProprty to ensure all special mapped properties such as in AMQPMessage would return
Avoid a custom string to represent null, instead rely on Java's representation "null" by using Objects.toString to get the string value of the property value used to group by.
2018-08-13 08:37:56 +01:00
Arthur Fritz Santiago
349477ed31
[ARTEMIS-2022] Ajust checkstyle
2018-08-13 08:37:56 +01:00
Arthur Fritz Santiago
e15917129f
[ARTEMIS-2022] Create count messages 'group by' this property filter
2018-08-13 08:37:56 +01:00
Michael André Pearce
19e1bbeb49
ARTEMIS-2019 - Seperate ServerPlugin Interfaces
...
Seperate plugin interface by area, all extending a base interface.
Update code to check and call only plugins implementing specific interfaces.
Existing interface extends all the new interfaces for back compatibility or those who want simplicity and don't care about perf.
2018-08-09 19:42:28 -04:00
Justin Bertram
53f8bc3daf
ARTEMIS-2010 actively detect unauthenticated LDAP Bind requests
2018-08-09 19:40:30 -04:00
Christopher L. Shannon (cshannon)
e915545278
ARTEMIS-2018 - Add bridge events to plugin API
...
Add callbacks to handle bridge events including beforeDeliverBridge,
afterDeliverBridge and afterAcknowledgeBridge
2018-08-09 13:37:56 +01:00
Clebert Suconic
b710df7844
ARTEMIS-2011 Fixing incompatibility of AddressSettings encode between versions
...
To fix this I added a retry on AddressSettings using code that's closer to the original version
2018-08-06 11:12:46 -04:00
Jeff Mesnil
fd9aad202b
[ARTEMIS-1947] Session metadata in session management operation
...
Fill the session's metadata in JSON properties instead of serializing it
as an opaque String.
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1947
2018-08-06 14:11:40 +02:00
Christopher L. Shannon (cshannon)
e629ac4538
ARTEMIS-2003 - Add bridge metrics
...
This commit adds support for tracking metrics for bridges for both
normal bridges and bridges that are part of a cluster. The two
statistics added in this commit are messages pending acknowledgement
and messages acknowledged but more can be added later.
2018-08-03 14:18:34 -04:00
Michael André Pearce
825081cfc0
ARTEMIS-856 Fixing ScaleDownTest
...
Don't increment the pos if redistributor. causes pos to be > size thus index out of bounds when getting the consumer on next loop.
2018-08-03 10:48:59 +01:00
Clebert Suconic
77989c3763
NO-JIRA avoiding a NPE if the server is stopped
2018-08-02 10:57:17 -04:00
Michael André Pearce
de465179e5
ARTEMIS-856 Fixing MessageRedistributionTest
...
Cleaner code.
2018-08-02 14:20:03 +01:00
Michael André Pearce
ddd554f43f
ARTEMIS-856 Fixing ExclusiveTest
2018-08-02 13:53:22 +01:00
Michael André Pearce
ec742cb889
ARTEMIS-856 Fixing MessageRedistributionTest
2018-08-02 13:52:32 +01:00
Clebert Suconic
59520b9018
ARTEMIS-856 Fixing QueueCommandTest
2018-08-02 10:50:26 +01:00
Clebert Suconic
0e36e072bd
ARTEMIS-1732 I simplified some of the changes performed at the previous commit.
...
Also I changed GlobalDiskFullTest to actually block the senders.
I moved the Runnables from PagingManager into the Util as AtomicRunnable.
2018-07-31 21:39:04 -04:00
Howard Gao
53e1d60160
ARTEMIS-1732 AMQP anonymous producer not blocked on max-disk-usage
...
Anonymous senders (those created without a target address) are not
blocked when max-disk-usage is reached. The cause is that when such
a sender is created on the broker, the broker doesn't check the
disk/memory usage and gives out the credit immediately.
2018-07-31 21:39:01 -04:00
Shailendra Kumar Singh
29f39631dc
[ARTEMIS-1994]Include global-size-bytes in WARN message AMQ222038/39 for paging
...
[ARTEMIS-1994]Minor changes
2018-07-31 14:25:45 -04:00
Michael André Pearce
332cee8e66
ARTEMIS-1997 - un-needed SimpleString creation on hotpath with Filters
...
Create the SimpleString on construction of PropertyExpression so it can be re-used instead of creating it every time its filtered in the FilterImpl
2018-07-31 14:17:20 -04:00
Christopher L. Shannon (cshannon)
5fc60d7437
ARTEMIS-1987 - Add consumer window size to AddressSettings
...
Support configuring a default consumer window size via AddressSettings
which will allow sensible defaults to be used by address type
2018-07-31 14:16:11 -04:00
Michael André Pearce
8a9835a394
ARTEMIS-856 - Support consumersBeforeDispatch and delayBeforeDispatch
...
https://issues.apache.org/jira/browse/ARTEMIS-856
This is equivalent to consumersBeforeDispatchStarts and timeBeforeDispatchStarts in ActiveMQ 5.x
http://activemq.apache.org/message-groups.html
This is addressing one of the items on the artemis roadmap: http://activemq.apache.org/activemq-artemis-roadmap.html
2018-07-31 16:16:51 +01:00
Clebert Suconic
56be281aaf
ARTEMIS-1989 Replication catch up leaking files
...
Related commit that broke this at 837694e705
2018-07-25 15:03:57 +01:00
Martyn Taylor
66ba17846f
ARTEMIS-1988 Do not clear Activate Callbacks on stop
...
This is reverting 36fc14a30d
2018-07-25 09:49:44 -04:00
Clebert Suconic
b2d04b9ceb
ARTEMIS-1954 Fixing RedeployTest and moving JMS Parsing
2018-07-16 22:35:07 -04:00
Justin Bertram
fbdd6fe0ad
ARTEMIS-1971 make LDAP pooling test more robust
2018-07-16 20:34:46 -04:00
Clebert Suconic
2748ef0253
NO-JIRA removing dumb debug message left by accident
2018-07-16 20:32:47 -04:00
Justin Bertram
9ad9051165
ARTEMIS-1956 move MessageCounterInfo to core-client
2018-07-12 14:26:22 -04:00
17103355
5ec2234010
ARTEMIS-1958 Artemis may not be able to delete pages when there are some empty page files
2018-07-12 14:11:16 -04:00
yang wei
9f8288c015
ARTEMIS-1966 Replication channel closed but not connection if flow controlled during replication
2018-07-12 13:47:39 -04:00
Justin Bertram
7b4be5008d
ARTEMIS-1974 document LDAP role expansion
2018-07-12 12:42:01 -04:00
Francesco Nigro
bdcef5a68f
ARTEMIS-1981 JDBCJournalImpl constructor isn't using tableName parameter
...
Removed the unused/redundant constructor parameter tableName
2018-07-12 12:40:42 -04:00
Clebert Suconic
9a52766e51
NO-JIRA Removing System.err style debug left by accident
...
This is non critical. The message is only used by Queue.pause ATM.
2018-07-12 16:51:35 +02:00
Clebert Suconic
7c0f6633f1
ARTEMIS-1959 Fixing JournalDataPrintTest
2018-07-10 23:40:16 -04:00
Clebert Suconic
048f46bd4f
ARTEMIS-1866 Fixing QuorumResultWaitTest
2018-07-10 22:13:48 -04:00
gtully
d54e5a7868
ARTEMIS-1971 Support connection pooling in LDAPLoginModule
2018-07-06 13:53:29 -05:00
gtully
2ff4faab05
ARTEMIS-1970 Clean up LDAP connection in JAAS login module
2018-07-06 13:39:34 -05:00
17103355
7a76d95e60
ARTEMIS-1959 server startup failure caused by './artemis data print'
2018-07-02 13:06:41 -05:00
Francesco Nigro
60c586a64c
ARTEMIS-1951 Fix NPE on updateQueue with NULL user
2018-07-02 11:18:16 -05:00
andytaylor
f288cfc9ca
ARTEMIS-1866 - Make wait time for reply configurable once vote goes out to acquire a quorum
...
Im refactoring a lot of this original fix as it has broken API compatibilty by removing a default constructor.
Also it should be set via a setter.
https://issues.apache.org/jira/projects/ARTEMIS/issues/ARTEMIS-1866
2018-07-02 12:25:01 +01:00
Michael André Pearce
c7c23454e8
ARTEMIS-1951 allow queue's user to be updated
...
Fix so that it only updates if not null, to avoid user being unset from existing api's,
This is similar to other values, that only change the value when not null.
2018-06-29 13:38:27 -05:00
Justin Bertram
f9af366f07
ARTEMIS-1951 fix comparison bug
2018-06-23 11:57:38 -05:00
Justin Bertram
754a263328
ARTEMIS-1951 allow queue's user to be updated
2018-06-22 10:38:05 -04:00
Justin Bertram
2ed8a5764b
ARTEMIS-1947 return metadata in JSON session mgmnt ops
2018-06-20 17:18:03 -04:00
Francesco Nigro
e035487a5f
ARTEMIS-1945 InVMNodeManager shared state should be volatile
...
State access should be atomic to be visibile between
different threads.
2018-06-20 11:02:23 -04:00
Justin Bertram
57ed5b0530
ARTEMIS-1926 refactor SSLSupport
2018-06-18 16:15:13 -04:00