Commit Graph

5810 Commits

Author SHA1 Message Date
gtully 30c88fc679 ARTEMIS-2110 allow a lease renew without update to the expiry timestamp. Fix intermittent failure of org.apache.activemq.artemis.core.server.impl.jdbc.JdbcLeaseLockTest#shouldRenewAcquiredLock 2018-10-10 18:44:46 -04:00
Clebert Suconic 61449cfb15 This closes #2347 2018-10-10 18:43:10 -04:00
Justin Bertram 744838faaf ARTEMIS-2111 ManagementContext can leak 2018-10-10 18:43:10 -04:00
Clebert Suconic 81a5dd300d This closes #2348 2018-10-10 18:40:46 -04:00
Justin Bertram e84e631051 ARTEMIS-2112 Remove JMX props from start scripts
JMX configuration is now done via management.xml. Configuring JMX via
the start scripts could result in unexpected behavior since the
authorisation configuration from management.xml would be ignored.
2018-10-10 18:40:46 -04:00
Clebert Suconic 0f3c8b8a53 This closes #2355 2018-10-10 18:40:15 -04:00
Francesco Nigro d561ca34ff ARTEMIS-2116 Set text message content on producer CLI command 2018-10-10 18:40:15 -04:00
Clebert Suconic bcc3eb6375 This closes #2363 2018-10-10 18:39:46 -04:00
Michael André Pearce 50f6bb5d07 NO-JIRA close connection factory in CLI
Fix warning seen in logs during test case runs, caused by CF not being closed.

Oct 10, 2018 8:53:18 PM org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl finalize
WARN: AMQ212008: I am closing a core ClientSessionFactory you left open. Please make sure you close all ClientSessionFactories explicitly before letting them go out of scope! 639,542,871
java.lang.Exception
	at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.<init>(ClientSessionFactoryImpl.java:171)
	at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:779)
	at org.apache.activemq.artemis.cli.commands.messages.DestAbstract.getManagementSession(DestAbstract.java:103)
	at org.apache.activemq.artemis.cli.commands.messages.DestAbstract.getQueueAttribute(DestAbstract.java:127)
	at org.apache.activemq.artemis.cli.commands.messages.DestAbstract.getQueueIdFromName(DestAbstract.java:116)
	at org.apache.activemq.artemis.cli.commands.messages.Producer.execute(Producer.java:75)
	at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:150)
	at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:98)
	at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:125)
	at org.apache.activemq.artemis.cli.Artemis.main(Artemis.java:81)
2018-10-10 18:39:46 -04:00
Clebert Suconic a65374fe28 This closes #2364 2018-10-10 18:39:18 -04:00
Clebert Suconic fceb9ea718 ARTEMIS-1898 Proper fix on AtomicRunnables and avoiding leaks
GlobalDiskFullTest was broken before this fix.
Basically when using multiple addresses over a session you would miss flow credits on all your producers except to the first one
that ran out of credit.
2018-10-10 18:32:58 -04:00
Clebert Suconic 2b3819bc19 This closes #2356 2018-10-10 14:19:53 -04:00
Michael André Pearce 8c6322deed ARTEMIS-2094 Only deploy reloadable config if reloaded. 2018-10-10 14:19:52 -04:00
Timothy Bish f5a73dfab1 This closes #2361 2018-10-10 12:28:42 -04:00
Clebert Suconic 48b5563241 ARTEMIS-2096 Fixing DivertTopicToQueueTest
This is fixing the test org.apache.activemq.artemis.tests.integration.amqp.DivertTopicToQueueTest

This test was broken because the copy wouldn't use the Buffer view gotten by data.duplicate().
2018-10-10 12:27:45 -04:00
Michael Andre Pearce ae738c4260 This closes #2358 2018-10-10 17:17:31 +01:00
Michael André Pearce b2af19db2d NO-JIRA Fix NPE seen in test case logs 2018-10-10 17:17:31 +01:00
Clebert Suconic 0d665b5321 This closes #2360 2018-10-10 11:41:54 -04:00
andytaylor a1896c4c53 NO-JIRA - fixing up some broken tests
Some tests were added to a class that was extended, Ive moved these into their own class
2018-10-10 11:00:59 +01:00
Clebert Suconic a6b0b7e442 This closes #2352 2018-10-08 20:46:33 -04:00
Ville Skyttä 3400c0d76e NO-JIRA Grammar and spelling fixes 2018-10-08 20:45:59 -04:00
Clebert Suconic 545a17920f This closes #2349 2018-10-08 20:45:23 -04:00
Francesco Nigro d603332a8f ARTEMIS-2114 hawtio dest delete/purge buttons overlap if pane resized
Changing the view layout from horizontal to vertical avoid the resizing
issue
2018-10-08 16:28:41 +02:00
gtully 65feda8e92 ARTEMIS-1684 remove native libs before ci build to avoid aio resource constraints failing tests in error 2018-10-08 12:31:40 +01:00
gtully 2e96d9b5cc ARTEMIS-1684 - don't build the -web module due to the node and gitbook dependency for travis ci 2018-10-05 12:10:56 +01:00
Clebert Suconic 94be096861 This closes #2187 2018-09-27 17:29:18 -04:00
Justin Bertram a28b4fb34e ARTEMIS-1545 refactor & rework a few incompatible pieces
Existing commit for ARTEMIS-1545 broke bridges and large messages. This
commit fixes those, and refactors the solution a bit to be more clear.
2018-09-27 17:29:18 -04:00
Michael André Pearce e4ba48a311 ARTEMIS-1545 Support JMS 2.0 Completion Listener for Exceptions 2018-09-27 17:29:18 -04:00
Clebert Suconic 515a2e064c This closes #2337 2018-09-27 16:48:31 -04:00
Clebert Suconic 1369690f57 ARTEMIS-1894 Avoiding apache.org URL on codebase 2018-09-27 14:51:19 -04:00
Clebert Suconic c1a458bb69 This closes #2334 2018-09-27 10:24:33 -04:00
Justin Bertram c72bf53cb1 ARTEMIS-2098 potential NPE when decoding protocol 2018-09-27 10:24:33 -04:00
Justin Bertram 5a600114b4 This closes #2335 2018-09-26 15:41:10 -05:00
Michael André Pearce 8ab3be71a3 ARTEMIS-2099 Avoid possible double instantiation of properties 2018-09-26 15:40:36 -05:00
Clebert Suconic 10ecb358cb This closes #2331 2018-09-26 14:48:45 -04:00
Michael André Pearce 8e40b2d4f4 ARTEMIS-2095 - Typed Properties ThreadSafety
Add Concurrency Test to expose concurrency errors seen in logs.
Add Fix to ensure TypedProperties to ensure threadsafety
Add forEach and forEachKey to allow for provide a thread safe way of iterating through keys and values, without needing to duplicate the collection.
Add getMapNames method to remove code duplication and to ensure thread safe
2018-09-26 15:41:52 +01:00
Clebert Suconic a5b19ad1e7 This closes #2326 2018-09-26 09:23:57 -04:00
Michael André Pearce cce0e1927c ARTEMIS-2094 - Fix Configuration change loss when network Issue
Further fix around network loss.
If network loss (split) and slave activates, for a period its config used when it initializes in initialisePart2 was stale. 
Add/Extend test to ensure address-setting change made on live preserved on slave (after activation)
Add/Extend test to ensure security-setting change made on live preserved on backup (after activation)
2018-09-26 09:23:57 -04:00
Clebert Suconic 9d6f13138b This closes #2330 2018-09-26 09:20:25 -04:00
Justin Bertram 5d329a70d1 ARTEMIS-2087 fix NPE; mask password in example 2018-09-26 09:20:24 -04:00
Clebert Suconic 7a463f038a This closes #2329 2018-09-26 09:19:41 -04:00
Timothy Bish a851a8f93f ARTEMIS-2096 Refactor AMQMessage abstraction
Major refactoring of the AMQPMessage abstraction to resolve
some issue of message corruption still present in the code and
improve the API handling of message changes and re-encoding.

Improves handling of decoding of message sections limiting the
work to only the portions needed and ensuring the state data
is always updated with what has been done.  Fixes issues of
corrupt state on copy of message or other changes in filters.
2018-09-26 09:19:40 -04:00
Clebert Suconic 2453978f41 This closes #2172 2018-09-25 18:07:32 -04:00
Justin Bertram 9c62531c2f ARTEMIS-1961 track routed and unrouted messages sent to an address 2018-09-25 18:07:32 -04:00
Michael Andre Pearce a9916adcb4 This closes #2327 2018-09-21 22:38:51 +01:00
Justin Bertram 9c8df7b3c5 NO-JIRA update stomp doc a/b default behavior 2018-09-21 13:39:29 -05:00
Clebert Suconic 5d91f24d3a This closes #2316 2018-09-21 11:50:38 -04:00
Justin Bertram 07e14c1582 ARTEMIS-2087 support masked passwords in management.xml 2018-09-21 11:50:38 -04:00
Clebert Suconic cf525f014b This closes #2325 2018-09-21 09:49:53 -04:00
Francesco Nigro 3112b4f3db ARTEMIS-2093 NPE thrown by NettyConnector::createConnection
Given that NettyConnector::createConnection isn't happening on the
channel's event loop, it could race with a channel close event, that
would clean the whole channel pipeline, leading to a NPE while
trying to use a configured channel handler of the pipeline.
2018-09-21 15:06:53 +02:00