Timothy Bish
780f9bdc34
ARTEMIS-57 Add tests to ensure To field is not cleared
...
Add some tests for various cases of send / recv to check that the To
field on the message is left intact.
2017-03-17 15:09:55 -04:00
Andy Taylor
c6f73b0c0a
ARTEMIS-1042 - support amqp failover list
...
https://issues.apache.org/jira/browse/ARTEMIS-1042
2017-03-17 15:08:58 -04:00
Andy Taylor
8ab7588910
ARTEMIS-1023 - fixx Openwire auto creation of queues
...
https://issues.apache.org/jira/browse/ARTEMIS-1023
2017-03-17 12:28:10 +00:00
Clebert Suconic
8a84b6a1a7
ARTEMIS-1041 Using less time on timeouts
2017-03-15 19:25:08 -04:00
Timothy Bish
938c4ec558
ARTEMIS-1041 Apply absolute expiration time to message
...
Use the Absolute Expiration Time from the message properties and
override any value set in TTL if anything set there.
2017-03-15 19:25:08 -04:00
Clebert Suconic
ae34b01065
ARTEMIS-1038 Make usage of Delivery.available and upgrade proton
2017-03-15 14:37:41 -04:00
Timothy Bish
7282b6890a
ARTEMIS-1039 Transaction Coordinator credit refill
...
The coordinator needs to refill credit on the receiver once it has been
exhausted, otherwise the remote cannot send additional declare or
discharge commands to the broker.
2017-03-14 17:13:05 -04:00
Clebert Suconic
8cf3119767
NO-JIRA: Changing TopicControlClusterTest to expression
2017-03-14 09:42:49 -04:00
Justin Bertram
bf5ca678ee
NO-JIRA fix race in TopicControlClusterTest
...
Test didn't account for "remote" queue bindings from other cluster
member which caused a race condition.
2017-03-13 12:46:20 -05:00
Andy Taylor
b5b6e4bea6
ARTEMIS-1034 - non-durable subscription queue not ended on link close
...
https://issues.apache.org/jira/browse/ARTEMIS-1034
2017-03-13 10:33:13 -05:00
Martyn Taylor
c40823e5ec
[maven-release-plugin] prepare for next development iteration
2017-03-10 14:54:33 +00:00
Martyn Taylor
70e319d6e3
[maven-release-plugin] prepare release 2.0.0
2017-03-10 14:52:26 +00:00
Martyn Taylor
f1a5f1caf9
Revert "[maven-release-plugin] prepare release 2.0.0"
...
This reverts commit 057047499b
.
2017-03-10 14:45:29 +00:00
Martyn Taylor
1964abe567
Revert "[maven-release-plugin] prepare for next development iteration"
...
This reverts commit 9a52f51c9f
.
2017-03-10 14:44:58 +00:00
Justin Bertram
e9ad1c81a5
Revert "ARTEMIS-1011 Small adjustment on test"
...
Revert "ARTEMIS-1011 adjust slow-consumer detection logic"
This reverts commit 9818206bd3
.
This reverts commit 19ebbfb5f0
.
2017-03-10 09:26:41 -05:00
Martyn Taylor
9a52f51c9f
[maven-release-plugin] prepare for next development iteration
2017-03-10 11:36:36 +00:00
Martyn Taylor
057047499b
[maven-release-plugin] prepare release 2.0.0
2017-03-10 11:25:47 +00:00
Martyn Taylor
b33fea0d7f
ARTEMIS-990 Dont require Perms on MQTT mngment Q
2017-03-10 11:06:05 +00:00
Clebert Suconic
6a323eb832
ARTEMIS-1029 speeding up JmsNettyNioStressTest
2017-03-09 22:12:59 -05:00
Clebert Suconic
b73828a0f4
ARTEMIS-1029 Fixing Paging issues
...
- Browser out of order
- PageStore not being cleared
2017-03-09 22:12:58 -05:00
Clebert Suconic
5534d00fab
ARTEMIS-1029 Fixing PagingOrderTest
2017-03-09 22:12:58 -05:00
Clebert Suconic
38305d2751
ARTEMIS-1009 Fixing ActiveMQServerControlTest
2017-03-09 22:12:58 -05:00
Clebert Suconic
ed1d4c0948
ARTEMIS-1009 Fixing Management test
2017-03-09 19:14:59 -05:00
Francesco Nigro
59de5ed8a4
ARTEMIS-827 AMQP test client validator classes not thread safe
2017-03-09 17:27:50 -05:00
Clebert Suconic
9818206bd3
ARTEMIS-1011 Small adjustment on test
2017-03-09 17:21:16 -05:00
Justin Bertram
19ebbfb5f0
ARTEMIS-1011 adjust slow-consumer detection logic
...
Adjust slow-consumer detection logic to use the number of messages in
the queue and not just the number of messages added since the last
check. This means the getRate() method now returns the rate of messages
which it *could* have dispatched since the last check rather than the
rate at which it received messages. This is a more reliable metric to
ensure the slow-consumer detection logic doesn't flag a consumer as
slow unfairly. Although the reliability will come at a performance cost
since getMessageCount() must lock the queue.
2017-03-09 16:59:22 -05:00
Justin Bertram
a052e2ca9a
ARTEMIS-1026 don't route when purgeOnNoConsumers and consumers=0
2017-03-09 14:39:33 -05:00
Clebert Suconic
a41a1930ef
ARTEMIS-1009 AMQP shouldn't use application properties
...
As part of my refactoring on AMQP, the broker shouldn't rely on Application properties
for any broker semantic changes on delivery.
I am removing any access to those now, so we can properly deal with this post 2.0.0.
2017-03-09 12:27:39 -05:00
Clebert Suconic
c369084381
ARTEMIS-1009 Tight up on AMQP
...
avoiding application properties even further
fixing nolocal
2017-03-09 08:12:42 -06:00
Clebert Suconic
8aa55a655d
ARTEMIS-1021 Expanding test towards other protocol types
2017-03-09 08:12:42 -06:00
Dejan Bosanac
489eb6971f
NO-JIRA ArtemisFeatureTest looks good
2017-03-09 09:02:21 -05:00
Howard Gao
6e02caa53e
ARTEMIS-1024 Management operation causes ClassNotFoundException
...
Artemis expose createQueue() method to management console like Jon.
If the queue to be created already exists it throws an ActiveMQException
back to the console, which will get a ClassNotFoundException when
deserializing the exception.
The same issue goes also with AddressControl.sendMessage() method.
To fix that it should throw a common java exception like IllegalStateException.
2017-03-09 21:22:18 +08:00
Clebert Suconic
94b47e370b
ARTEMIS-1009 Fixing compatibility
...
there was an issue with running older clients
Found by this testsuite:
https://github.com/clebertsuconic/messaging-versioning
this will fix further compatibility issues
2017-03-06 22:09:41 -05:00
Martyn Taylor
456e2a65e2
ARTEMIS-1012 Fix AMQP Transaction Retirement
2017-03-06 11:55:29 -05:00
Martyn Taylor
543dd4c9e3
ARTEMIS-1013 Queue deliver after AMQP msg release
2017-03-06 11:55:29 -05:00
Clebert Suconic
fe0ca4d84f
ARTEMIS-1009 Pure Message Encoding.
...
with this we could send and receive message in their raw format,
without requiring conversions to Core.
- MessageImpl and ServerMessage are removed as part of this
- AMQPMessage and CoreMessage will have the specialized message format for each protocol
- The protocol manager is now responsible to send the message
- The message will provide an encoder for journal and paging
2017-03-05 23:08:53 -05:00
Clebert Suconic
c1fa5d07c7
ARTEMIS-1019 Removing Aeroegear
...
Aeroegear has other ways to use Artemis
2017-03-05 22:57:49 -05:00
Clebert Suconic
c0fe187666
ARTEMIS-1019 removing vertx integration
2017-03-05 22:57:07 -05:00
Clebert Suconic
61e10fe65a
NO-JIRA Passing the logger manager on spawned VMs through the testsuite
2017-03-02 10:04:28 -05:00
Martyn Taylor
dc40f60e6b
ARTEMIS-1002 Use default PooledBufferAllocator in ActiveMQBuffers
2017-02-27 14:23:29 -05:00
Howard Gao
216f31765f
ARTEMIS-1000 Openwire exception response no correlation-id
...
When openwire sends back an exception response, it doesn't set
the correct correlation id. This causes the client to miss the
response and the exception won't get caught.
To fix it we need to add the correlation id before sending.
2017-02-26 22:25:10 -05:00
Erich Duda
0c64cbfa4e
ARTEMIS-995 Bulk of test fixes
...
This commit fixes tests:
ActiveMQScheduledComponentTest.testAccumulationOwnPool
PendingDeliveriesTest.testWithtReconnect
ReceiveTest.testReceiveImmediate
ActiveMQProducerResourceTest.testSendString
EmbeddedActiveMQResourceTest.testSendString
MultipleEmbeddedActiveMQResourcesTest.testMultipleServers
MultipleEmbeddedJMSResourcesTest.testMultipleServers
ActiveMQDynamicProducerResourceWithoutAddressTest.testSendString
ActiveMQDynamicProducerResourceWithoutAddressExceptionTest.testSendBytesToDefaultAddress
ActiveMQDynamicProducerResourceTest.testSendString
ActiveMQServerControlTest.testTotalMessageCount
EmbeddedActiveMQResourceCustomConfigurationTest.testCustomConfiguration
EmbeddedJMSResourceMultipleFileConfigurationTest.testConfiguration
EmbeddedJMSResourceQueueTest.testPushObjectMessage
EmbeddedJMSResourceSingleFileConfigurationTest.testConfiguration
EmbeddedActiveMQResourceFileConfigurationTest.testConfiguredQueue
EmbeddedJMSResourceTopicTest.testPushObjectMessage
LargeMessageFailoverTest.testTimeoutOnFailoverTransactionCommit
2017-02-24 15:17:00 +01:00
Justin Bertram
01465035c0
ARTEMIS-970 handle indeterminate JMS destination
2017-02-23 12:55:27 -05:00
Justin Bertram
0b829558b3
ARTEMIS-989 JMS2 context support custom session modes
2017-02-23 11:39:23 -05:00
Howard Gao
2fabd059d8
ARTEMIS-981 OpenWire can't receive empty ObjectMessage
...
When sending an empty ObjectMessage, broker doesn't
write a 'length' field to the message buffer. In delivery
the broker tries to read the length from the buffer, which
causes "IndexOutOfBoundsException".
To fix it, we need to check if the buffer is empty or not,
and only read it if the buffer is not empty.
2017-02-22 12:59:52 +08:00
Howard Gao
b84a7f3e25
ARTEMIS-980 Openwire can't send message to temp destination
...
When a producer sends a messages to a temp destination created from
another connection, it fails. The reason behind it is that the
producer's connection didn't receive the advisory message (notification)
from broker about this temp destination, and it will throw an exception
if it doesn't know this temp destination.
The fix is send the advisory to the client so that it knows this destination.
2017-02-21 14:46:47 +08:00
Jiri Danek
a7a0535afa
NO-JIRA Fixing typos in log messages, test names and comments
...
Related to ARTEMIS-387 (fowardingAddress)
2017-02-20 20:54:45 -05:00
Andy Taylor
a243e0559f
ARTEMIS-977 - record id of address not set on journal reload
...
https://issues.apache.org/jira/browse/ARTEMIS-977
2017-02-20 09:17:45 -05:00
Howard Gao
e7a4d42a64
ARTEMIS-979 OpenWire "no-Local" consumer not working
...
When creating a 'no-local' openwire consumer, it doesn't work,
meaning it can still receive messages from the same connection.
The fix is similar to what Artemis client does, which is adding
a 'filter' to the consumer/subscription.
The difference is that with OpenWire we have to do it on the
broker side.
2017-02-20 08:17:43 -05:00
Martyn Taylor
5a235d98b6
ARTEMIS-974 ensure will messages are retained
2017-02-16 18:22:10 +00:00
Dejan Bosanac
21b64b3e4f
https://issues.apache.org/jira/browse/ARTEMIS-815 - support wildcard address configuration in mqtt layer
...
https://issues.apache.org/jira/browse/ARTEMIS-815 - support wildcard address configuration in mqtt layer - remove old swap method
https://issues.apache.org/jira/browse/ARTEMIS-815 - added tests for mqtt-openwire integration and fixed openwire layer
https://issues.apache.org/jira/browse/ARTEMIS-815 - remove unused imports
2017-02-16 17:37:50 +00:00
Clebert Suconic
f38d5c7dbc
ARTEMIS-969 Unecessary buffer expansion on message delivery
2017-02-15 13:49:00 -05:00
Clebert Suconic
3f6eacf5d5
NO-JIRA: using proper UUIDGenerator on a test
2017-02-15 10:43:58 -05:00
Martyn Taylor
59773c2849
ARTEMIS-960 Do not encode Will messages
2017-02-14 11:26:54 -06:00
Justin Bertram
ff3e75d148
NO-JIRA move RoutingType to different package
2017-02-13 09:50:41 -06:00
Andy Taylor
318778954d
ENTMQBR-522 - dont ack on separately settled deliveries
...
https://issues.jboss.org/browse/ENTMQBR-522
2017-02-10 09:50:51 -05:00
Martyn Taylor
b2e250d425
ARTEMIS-952 Remove MQTT Queues on Clean Session
2017-02-09 10:43:03 +00:00
Justin Bertram
2bda3b2b4f
ARTEMIS-953 Refactor JMX ObjectNames
2017-02-08 15:00:20 -06:00
Howard Gao
1a3fdd0916
ARTEMIS-949 Prevent Openwire from closing consumer twice
2017-02-08 15:57:43 +08:00
Andy Taylor
f268c101af
ARTEMIS-944 - Broker can't convert AMQP python message to Openwire format
...
https://issues.apache.org/jira/browse/ARTEMIS-944
2017-02-07 14:02:20 +00:00
Andy Taylor
d937e8a8e1
ARTEMIS-945 - fix test and queue delete
...
https://issues.apache.org/jira/browse/ARTEMIS-945
2017-02-07 14:01:15 +00:00
Andy Taylor
43a9276484
ARTEMIS-866 - replication improvements
...
add functionality to allow live to vote for quorum on failure
Also allow the quorum size to be configurable.
https://issues.apache.org/jira/browse/ARTEMIS-866
2017-02-07 13:47:03 +00:00
Timothy Bish
b9bf5d54f2
ARTEMIS-794 Add tests for handling of various outcomes for deliveries
...
Adds tests for handling of Rejected, Released and Modified outcomes for
a delivery sent to a receiver. Tests show that for the Modified outcome
the broker is redelivering the message to the same receiver when the
undeliverable here value is set which violates the AMQP 1.0 specified
handling of that field. Also for Rejected outcome the broker should
be sending the rejected message to the DLQ as Rejected is supposed to
be a terminal outcome.
Small fix included to not adjust the delivery count if the Modified
outcome does not indicate that the delivery failed.
2017-02-07 13:45:11 +00:00
Justin Bertram
15d693dd4e
ARTEMIS-943 update/doc XML import/export
2017-02-06 15:09:55 -06:00
Martyn Taylor
3900cb0ec7
ARTEMIS-917 Only return body of retained message after reboot
2017-02-06 13:33:26 -06:00
Clebert Suconic
c039aae37f
ARTEMIS-906 Adding Paging tests for mapped journal
2017-02-03 09:04:57 -05:00
Francesco Nigro
aacddfda61
ARTEMIS-906 Memory Mapped JournalType
2017-02-03 09:04:57 -05:00
Clebert Suconic
ce035a8084
ARTEMIS-937 Implementing proper alignment and adding perf-journal tool to validate the journal syncs
2017-02-03 09:04:56 -05:00
Justin Bertram
1752814197
ARTEMIS-922 implement purge semantics
2017-01-31 08:37:05 -06:00
Clebert Suconic
35415510df
NO-JIRA: Fixing hanging testsuite
2017-01-31 09:11:50 -05:00
Clebert Suconic
b4b8c583b5
NO-JIRA Logging integration-tests/DEBUG is being too verbose on the testsuite
2017-01-30 22:26:48 -05:00
Clebert Suconic
57945d97e9
NO-JIRA: fixing a test
2017-01-30 16:08:38 -05:00
Clebert Suconic
f79b21e866
ARTEMIS-934 Stomp Heart beat not being stopped in some cases
2017-01-25 12:17:47 -05:00
Justin Bertram
a138a27adb
NO-JIRA de-duplicate class
2017-01-20 12:07:14 -06:00
Clebert Suconic
9fb28e5651
NO-JIRA: just adding a test to avoid future issues
2017-01-19 14:51:15 -05:00
Justin Bertram
d891fa5f83
ARTEMIS-873 update broker configs w/new notation
2017-01-19 11:16:06 -06:00
Will Reichert
3347a4fd27
ARTEMIS-928 Changing Netty and InVM to copy buffers, and retain them on the Netty Polls.
2017-01-18 16:59:32 -05:00
Clebert Suconic
b4cbd36af4
ARTEMIS-560 Small improvements on JDBC tests for paging + adding a logger
2017-01-17 14:58:53 -05:00
Martyn Taylor
118c272c77
ARTEMIS-560 Add Support For JDBC Paging
2017-01-17 14:58:53 -05:00
Justin Bertram
8cf94623a4
ARTEMIS-922 Rename deleteOnNoConsumers throughout
...
The name "deleteOnNoConsumers" isn't a good match for the semantics underneath.
The name "purgeOnNoConsumers" (and variants) is a better fit.
2017-01-17 11:40:56 -06:00
Justin Bertram
0d1fa83181
ARTEMIS-922 Addressing-related API clean-up
2017-01-16 14:40:42 -05:00
Clebert Suconic
599aaa5345
ARTEMIS-921 Fixing Slow Consumer when multiple consumers on same queue
2017-01-16 11:37:12 -05:00
Howard Gao
90cf239829
ARTEMIS-921 Consumers killed as slow even if overall consuming rate is above threshold
2017-01-16 11:37:12 -05:00
Andy Taylor
f52cb5c610
ARTEMIS-918 - use requested routing type when client defined with amqp and address doesnt exist
...
https://issues.apache.org/jira/browse/ARTEMIS-918
2017-01-12 12:07:16 +00:00
Howard Gao
4e309d842e
ARTEMIS-562 Use 'to' field if sender target is null
2017-01-11 14:20:39 -05:00
Clebert Suconic
9f9ffc1ff5
ARTEMIS-913 Slow consumer detection not working when paging
2017-01-09 12:34:13 -05:00
Howard Gao
39f5ef6198
ARTEMIS-907 Fix NettySecurityClientTest
2017-01-04 10:50:18 -06:00
Dejan Bosanac
668f4721f0
https://issues.apache.org/jira/browse/ARTEMIS-815 - implement configurable wildcard addresses syntax
...
Rename WildCardConfigurationTest.java to WildcardConfigurationTest.java
adjust schema
2017-01-04 09:44:03 -06:00
Howard Gao
eecbbb18db
ARTEMIS-902 OpenWire Compression Issue
2016-12-23 21:29:28 +08:00
Timothy Bish
51c95babfe
ARTEMIS-901 Account for the presence of authzid in sasl plan auth
...
If the SASL plain mechanism arrives with the authzid value set the
mechanism needs to account for its presence and use the correct fields
of the exchange to get the username and password values. Adds some
tests to validate this fix.
2016-12-21 18:18:54 -05:00
Clebert Suconic
d61ca69b64
NO-JIRA fixing checkstyle and tearDown on a test
2016-12-21 12:15:14 -05:00
Clebert Suconic
5e4f4aea82
NO-JIRA fixing a test
2016-12-21 12:04:06 -05:00
Clebert Suconic
8941f2b15d
ARTEMIS-883 fixing tests
2016-12-21 12:04:06 -05:00
Howard Gao
ae90edfdb6
ARTEMIS-883 Fix OpenWire ProducerFlowControlTest
2016-12-21 12:04:06 -05:00
Justin Bertram
8c1a9314e6
ARTEMIS-789 fix ReceiveTest
2016-12-16 18:48:05 -06:00
Clebert Suconic
1bed2c9512
NO-JIRA cli improvements
2016-12-16 18:46:46 -06:00
Martyn Taylor
e29b3913ac
NO-JIRA Check Style Fix
2016-12-16 15:16:02 +00:00
Clebert Suconic
e1577e230a
ARTEMIS-878 test fixes
2016-12-16 09:37:46 -05:00
Francesco Nigro
03cc566c5d
ARTEMIS-878 Fix compilation and tests
2016-12-16 09:34:02 -05:00
Clebert Suconic
6ec7efc995
ARTEMIS-878 Improving CLI experience around create queue and address
...
I reckon the CLI is not the best UX, but this will at least make it consistent with other CLI commands
for the new Queue and Address commands
2016-12-16 13:15:28 +00:00
jbertram
6cb6e95c9b
ARTEMIS-789 tests/fixes for auto create/delete
2016-12-15 17:53:50 -05:00
Howard Gao
8348cdd2b6
ARTEMIS-893 Fix FailoverTransactionTest.testWaitForMissingRedeliveries
2016-12-15 17:51:13 -05:00
Francesco Nigro
0a4d1b38c8
ARTEMIS-878: Improved CLI commands
2016-12-15 13:41:30 +00:00
Andy Taylor
3b75c95413
ARTEMIS-888 - AMQP headers arent always set
...
https://issues.apache.org/jira/browse/ARTEMIS-888
2016-12-15 07:07:04 +00:00
jbertram
4424117d65
ARTEMIS-789 fix AMQP SendingAndReceivingTest
2016-12-14 15:13:23 -06:00
jbertram
3af1e5c734
ARTEMIS-789 AMQP tests for routing semantics
2016-12-14 15:12:57 -06:00
Clebert Suconic
332338d018
ARTEMIS-890 Improving Paging consistencies with broker.persistent = false. Block, Page and Drop will now work under non persistent
2016-12-14 14:36:33 -05:00
Andy Taylor
881615e646
ARTEMIS-891 - upgrade proton to 0.16
...
https://issues.apache.org/jira/browse/ARTEMIS-891
2016-12-14 18:25:26 +00:00
Clebert Suconic
08e0c5e4f1
Revert "ARTEMIS-888 - AMQP headers arent always set"
...
This reverts commit d471f6b15f
.
2016-12-14 10:20:18 -05:00
Andy Taylor
d471f6b15f
ARTEMIS-888 - AMQP headers arent always set
...
https://issues.apache.org/jira/browse/ARTEMIS-888
2016-12-14 09:25:10 -05:00
jbertram
8263ef2f98
ARTEMIS-780 fix ReplicationWithDivertTest
2016-12-13 20:58:35 -06:00
jbertram
bdc2abf308
ARTEMIS-780 fix JmsProducerTest
2016-12-13 20:58:26 -06:00
jbertram
30b1335614
ARTEMIS-877 STOMP tests + routing header
2016-12-13 17:59:09 -06:00
jbertram
3150759806
ARTEMIS-880 use built-in prefixing for STOMP
2016-12-13 15:05:43 -06:00
Howard Gao
d67ea071a3
ARTEMIS-885 Fix OpenWire wildcard conversion issue
2016-12-13 15:58:35 -05:00
Howard Gao
16f19daa97
ARTEMIS-887 Fix some OpenWire test failures
2016-12-13 15:57:31 -05:00
Martyn Taylor
7f658cad21
ARTEMIS-788 Enable auto create and Prefix in MQTT
2016-12-13 15:54:50 -05:00
Clebert Suconic
d5be1c6dc6
NO-JIRA: fix checkstyle broken after c38c5a91aa
2016-12-13 15:54:15 -05:00
Pat Fox
c38c5a91aa
NO-JIRA: added unit test for setting the user and password in the uri for tcp transport, used in JNDI
2016-12-13 09:20:29 -05:00
jbertram
02f5f5c01d
ARTEMIS-789 add tests; fix bugs from tests
...
Add some routing and createQueue tests to deal with new semantics.
Also fix a few bugs exposed by the new tests.
2016-12-12 17:01:52 -06:00
Clebert Suconic
dc472192f4
ARTEMIS-882 Supporting lists on URIs
2016-12-09 16:20:01 -05:00
Martyn Taylor
6682072da6
Major Version Bump 2.0.0 After Major Arch Change
2016-12-09 18:43:15 +00:00
jbertram
fa67d40b9d
ARTEMIS-789 Fixed a number of failing tests
2016-12-09 18:43:15 +00:00
jbertram
fe52ca6d75
ARTEMIS-881 Support new address-settings for auto-create queue
2016-12-09 18:43:15 +00:00
jbertram
af27714026
ARTEMIS-813 Ensure no duplicate journal records on address update
2016-12-09 18:43:15 +00:00
Francesco Nigro
6ab133ab89
ARTEMIS-878 Added/Modified CLI commands and tests
2016-12-09 18:43:15 +00:00
Martyn Taylor
8f532cc25d
ARTEMIS-880 Add support for address prefixing
2016-12-09 18:43:15 +00:00
Andy Taylor
224f62b295
ARTEMIS-877 Add Consumer support for AMQP for new addressing schema
2016-12-09 18:43:15 +00:00
Howard Gao
a182a135e9
ARTEMIS-789 Add OpenWire Tests for MULTICAST,ANYCAST
2016-12-09 18:43:15 +00:00
jbertram
b742a357c5
ARTEMIS-876 Deprecate JMSServerManager and update JMS bootstrap
2016-12-09 18:43:15 +00:00
jbertram
683ae68989
ARTEMIS-789 Fix Failing Tests
2016-12-09 18:43:15 +00:00
Martyn Taylor
61aec1ba74
ARTEMIS-789 Fix TopicDestinationResource look up on Addr
2016-12-09 18:43:15 +00:00
Andy Taylor
74d0a1a818
ARTEMIS-784 Add new JMX methods and update JMX API
2016-12-09 18:43:15 +00:00
Martyn Taylor
1339c930de
ARTEMIS-780 Fixes a number of broken tests
2016-12-09 18:43:15 +00:00
Martyn Taylor
279383a798
ARTEMIS-780 Update Shared Queue API to use Address model
2016-12-09 18:43:15 +00:00
jbertram
c480351c11
ARTEMIS-780 Consolodate protocol packets and new Address/Queue commands
2016-12-09 18:43:15 +00:00
Martyn Taylor
7a51491c32
ARTEMIS-780 Added ability to define 2 Routing Types on a single addres
2016-12-09 18:43:15 +00:00
jbertram
0861be14c1
ARTEMIS-789 Fix various failing tests due to addressing changes
2016-12-09 18:43:15 +00:00
Martyn Taylor
ec8f06138c
ARTEMIS-878 Update the CLI to incorporate Addresses and new Queue
2016-12-09 18:43:15 +00:00
jbertram
a88853fe53
ARTEMIS-788 Stomp refactor + track autocreation for addresses
2016-12-09 18:43:15 +00:00
Andy Taylor
0189f156ec
ARTEMIS-876 Remove JMS JMX Objects and add new Address JMX objects
2016-12-09 18:43:15 +00:00
Martyn Taylor
0006627d12
ARTEMIS-876 Internalise Cluster Namespace and remove JMS Prefix
2016-12-09 18:43:15 +00:00
jbertram
84e8a87325
ARTEMIS-876 Remove all reliances on JMS prefixing
2016-12-09 18:43:15 +00:00
Martyn Taylor
887b8c8532
ARTEMIS-788 Update MQTT Protocol
2016-12-09 18:43:15 +00:00
Martyn Taylor
89e6ec36bb
ARTEMIS-780 Implement MaxConsumers and DeleteOnNoConsumers
2016-12-09 18:43:15 +00:00
jbertram
18c6d3035f
ARTEMIS-813 Added persistence objects for new address model
2016-12-09 18:43:15 +00:00
Martyn Taylor
2d02a26527
ARTEMIS-780 Added ANYCAST routing to local queues
2016-12-09 18:43:15 +00:00
Martyn Taylor
abdeb72eb7
ARTEMIS-782 Added configuration elements for new address model
2016-12-09 18:43:15 +00:00
Clebert Suconic
ebbc91c728
[maven-release-plugin] prepare for next development iteration
2016-12-06 16:59:52 -05:00
Clebert Suconic
5bcbea2517
[maven-release-plugin] prepare release 1.5.1
2016-12-06 09:47:43 -05:00
Clebert Suconic
5f1509c4fd
NO-JIRA: Removing empty test
2016-12-05 15:45:40 -05:00
Clebert Suconic
9c5a91b481
ARTEMIS-748 Negative Address Size after paging
2016-12-01 21:38:19 -05:00
Ville Skyttä
a99617ae6b
Treat STOMP 1.1+ undefined header escape sequences as errors
...
https://stomp.github.io/stomp-specification-1.2.html#Value_Encoding
2016-11-30 17:56:49 -05:00
Clebert Suconic
43634c098b
ARTEMIS-863 parsing spaces properly on network health addresses and avoiding loopback on configuration
2016-11-29 15:24:06 -05:00
Clebert Suconic
402f25be7d
ARTEMIS-473/ARTEMIS-863 Detect network failures
2016-11-23 10:14:14 -06:00
Howard Gao
1487fe6bdd
ARTEMIS-864 Sending to a destroyed temp queue didn't get exception
2016-11-22 19:42:38 +08:00
Andy Taylor
6628db4892
ARTEMIS-825 - Invalid selector not handled correctly in AMQP
...
this changes propogates the error to the client and closes the sender correctly
https://issues.apache.org/jira/browse/ARTEMIS-825
2016-11-21 11:24:51 -05:00
Andy Taylor
329c533d21
ARTEMIS-823 = broker doesn't settle rejected messages
...
Currently we don't settle rejected messages at the broker, we should always settle when rejected
https://issues.apache.org/jira/browse/ARTEMIS-823
2016-11-21 11:24:51 -05:00
Clebert Suconic
b8104f6b7e
NO-JIRA: Test fixes and speed ups
2016-11-09 14:35:47 -05:00
Howard Gao
4691cbe882
ARTEMIS-842 JMSMessageID doesn't appear to work in selector
2016-11-08 09:52:12 +08:00
Ulf Lilleengen
00340c86e0
ARTEMIS-814: Support specifying connection properties
2016-11-07 15:12:14 +01:00
Clebert Suconic
cca527d578
NO-JIRA: fixing extra-tests pom after the release
2016-11-03 16:03:57 -04:00
Clebert Suconic
f2db1c4337
[maven-release-plugin] prepare for next development iteration
2016-11-03 15:35:05 -04:00
Clebert Suconic
13a8a2bd40
[maven-release-plugin] prepare release 1.5.0
2016-11-03 15:34:54 -04:00
Clebert Suconic
64f43b47b6
NO-JIRA Updating Proton and qpid-jms on missing poms
2016-11-02 19:18:52 -04:00
Ulf Lilleengen
52a462d155
ARTEMIS-814: Refactor client connection and allow adding custom event handlers
2016-11-02 14:24:44 -04:00
Clebert Suconic
5e5ac0f057
ARTEMIS-832 Openwire was ignoring data syncs.
...
I'm also adding the possibility of sync on libaio, and not only relay on write-cache
2016-11-02 13:17:12 -05:00
Timothy Bish
b07d6a9e75
ARTEMIS-268 Adds tests that shows issue with presettled receivers
...
Tests added that show that a receiver attached to a queue as presettled
are not removing the messages that are dispatched to them.
2016-11-02 14:14:35 -04:00
Clebert Suconic
7eadff7681
ARTEMIS-822 Injecting IO Pools into and from ArtemisServerImpl
...
https://issues.apache.org/jira/browse/ARTEMIS-822
2016-10-31 11:34:27 -04:00
Clebert Suconic
6afde8f45a
ARTEMIS-822 Review journal threading model
...
https://issues.apache.org/jira/browse/ARTEMIS-822
2016-10-28 16:54:59 -04:00
barreiro
4b47461f03
ARTEMIS-822 Add executor service to JournalImpl for append operations and remove synchronization
...
https://issues.apache.org/jira/browse/ARTEMIS-822
2016-10-28 16:54:59 -04:00
Clebert Suconic
bfb9bedb2d
ARTEMIS-828 Queue browsing can be out of sync while paging
...
https://issues.apache.org/jira/browse/ARTEMIS-828
2016-10-28 16:54:58 -04:00
Clebert Suconic
e0021252ee
ARTEMIS-829 Removing messages re-encoding
...
https://issues.apache.org/jira/browse/ARTEMIS-829
2016-10-28 16:54:58 -04:00
Clebert Suconic
e49eda9664
NO-JIRA fixing byteman (extra tests)
...
Two issues encountered here:
i - ClosingConnectionTest was intermittently breaking other tests, in particular it was breaking PagingLeakTest for no apparent reason
. apparently it was a dead lock from removeAddress on the ServerController
ii - it still showing issues after removing the not needed synchronziation. Since the test is not really needed I am just removing the offending test.
2016-10-28 16:32:04 -04:00
Ulf Lilleengen
1b7033a20e
ARTEMIS-824: Add management routines for connector services
2016-10-26 10:11:11 +02:00
Francesco Nigro
490bd31c4b
ARTEMIS-820 AMQP: Add frame inspection capability to the test client.
2016-10-25 14:15:28 -04:00
Andy Taylor
1a4a148ba9
ARTEMIS-817 and ARTEMIS-818 openwire fixes
...
https://issues.apache.org/jira/browse/ARTEMIS-817
https://issues.apache.org/jira/browse/ARTEMIS-818
issues around Openwire protocol, sending a null stream maessage via openwire causes a null pointer and if a topic is auto created with openwire then it cant be destroyed as it checks for the management queue.
2016-10-25 12:00:37 -04:00
Clebert Suconic
2d1bdcd5bd
ARTEMIS-814: Moving classes around and adding docs
2016-10-24 09:42:22 -04:00
Ulf Lilleengen
e65fd5d674
ARTEMIS-814: Add support for outgoing AMQP connections
2016-10-24 09:42:22 -04:00
Clebert Suconic
a074f9f1a5
ARTEMIS-753 Queue Pause and Resumed persisted
2016-10-21 20:26:23 -04:00
Howard Gao
9c16ba26be
ARTEMIS-812 The countDelta attribute showing negative values
2016-10-21 17:13:41 +08:00
Tomas Hofman
b2b6743b58
ARTEMIS-805 old JMS clients failing on new broker
...
Old JMS clients are getting a CCE related to SessionBindingQueryResponseMessage
2016-10-19 13:22:56 -04:00
Clebert Suconic
b7d79f328f
NO-JIRA: a few additions and tweaks around OSGI
2016-10-19 13:19:10 -04:00
Timothy Bish
f1728abb5f
ARTEMIS-795 Tests for temporary destinations using dynamic nodes
...
Tests for the management of temporary destinations using the dynamic
node feature. Failing case, the broker return a source or target that
indicates it will honor the lifetime policy of delete on close but the
temporary destination remains in existence after the link it closed.
2016-10-14 10:24:13 +01:00
Timothy Bish
226f28abf5
ARTEMIS-799 Fix issues with the AMQP Durable Topic Subscription model
...
Fixes several issues found in the handling of durable topic
subscriptions (test cases added).
2016-10-14 03:54:35 +02:00
Timothy Bish
7a8b7e9cfb
ARTEMIS-792 Add additional tests for AMQP protocol
...
Adds several tests for AMQP expectations in various use cases.
2016-10-13 16:07:50 -04:00
Paul Gallagher
fcb70f3f60
ARTEMIS-779 upgrade to netty 4.1.5.Final
2016-10-10 23:24:56 +02:00
Martyn Taylor
a09348695c
ARTEMIS-778 Fix MQTT tests, refactor session state
2016-10-10 23:24:14 +02:00
Clebert Suconic
374f142edb
fixing build for LargeMessageOverReplicationTest
2016-10-10 10:12:22 +02:00
Ville Skyttä
65342a5ad2
javadoc: Fix doclint syntax errors
2016-10-10 10:02:49 +02:00
Ville Skyttä
9a439b4791
javadoc: Fix doclint reference errors
2016-10-10 10:02:49 +02:00
jbertram
c47a9a5f80
ARTEMIS-761 fix possible dup journal record ID
2016-10-07 18:50:44 -04:00
Timothy Bish
bc6ad1dfdb
ARTEMIS-775 Tests for AMQP credit handling
...
Some new tests that cover some AMQP credit handling scenarios. Test
case 'testCloseBusyReceiver' currently fails due to being dispatched a
duplicate message.
2016-10-07 18:40:49 -04:00
Timothy Bish
4496cd6120
ARTEMIS-777 Remove dependency on legacy Qpid AMQP 0.x JMS client
...
Remove the dependency on the qpid-client module which is an AMQP JMS
client for the 0.x AMQP protocols which Artemis does not support.
2016-10-07 18:39:41 -04:00
Timothy Bish
398da40f7d
ARTEMIS-776 Attach response should only list supported filters
...
The broker needs to return only the filters that are supported on a
receiver attach otherwise the remote is not aware that the broker is not
able to honor the requested configuration of the receiver.
2016-10-07 17:35:27 -04:00
jbertram
59bff3b36b
ARTEMIS-767 consumer with pre-ack flagged as slow
2016-10-07 14:47:21 -04:00
Clebert Suconic
54b7dcc48e
ARTEMIS-773 closing connections through finally to avoid thread leakage
2016-10-07 11:04:45 -04:00
Timothy Bish
ea54071f77
ARTEMIS-773 Tests that show issue with TX acquisition and retirement.
...
Two new tests that acquire messages inside a TX and manage their
settlement and retirement in differing ways, one test works the other
'testReceiversCommitAndRollbackWithMultipleSessionsInSingleTXNoSettlement'
fails due to messages that were committed being redelivered to the
client unexpectedly.
2016-10-07 10:54:02 -04:00
Timothy Bish
62627bf2ee
ARTEMIS-770 AMQP Message Transformer refactor
...
Refactor the AMQP Message transformers both for better performance and
also to fix a number of issues with the transformers creating inbound
and outbound messages with incorrectly mapped values or extra data
appended where it should not be.
2016-10-07 10:42:52 -04:00
Martyn Taylor
95c4fdd408
ARTEMIS-762 Reflect management changes in AMQP protocol
2016-10-07 10:38:01 -04:00
Clebert Suconic
ec48f9ed00
ARTEMIS-765 Improve Checkstyle
2016-09-30 11:12:09 -04:00
Andy Taylor
bd9b2057fa
ARTEMIS-758 - List/Object message sent by OpenWire JMS client can't be consumed with other clients
...
https://issues.apache.org/jira/browse/ARTEMIS-758
2016-09-29 20:28:31 -04:00
Clebert Suconic
01503ed46e
ARTEMIS-739 fixing checkstyle
2016-09-29 12:58:20 -04:00
jbertram
a6974596a0
ARTEMIS-739 fix large msg file leak on copy
2016-09-28 14:20:07 -04:00
Clebert Suconic
a838bf0479
ARTEMIS-751 Simplification of the AMQP implementation
...
Since we don't need client implementations any longer, given the maturity level of
qpid jms, these classes can go, as a result a lot of the interfaces can be removed.
As part of this I am removing proton-plug, and reorganizing the packages in a way I think it
makes more sense and easier to other developers to understand and maintain it.
https://issues.apache.org/jira/browse/ARTEMIS-751
2016-09-27 09:29:40 -04:00
Clebert Suconic
4e349693f4
Fixing build on extra-tests
2016-09-27 09:21:25 -04:00
Ville Skyttä
447d7840aa
Add missing @Overrides
2016-09-27 14:36:54 +03:00
jbertram
2dcf8de0de
ARTEMIS-741 fix subscription queue leak on STOMP
2016-09-26 18:01:30 -04:00
Ville Skyttä
b69af66f47
Expose disk-scan-period, max-disk-usage, and global-max-size in server control
2016-09-26 13:33:23 -04:00
jbertram
ea552a1f88
ARTEMIS-747 multiple CDATA events on import fails
2016-09-23 12:15:13 -04:00
Ville Skyttä
e98da5f288
Make bunch of private fields final
2016-09-23 09:06:08 -04:00
Andy Taylor
4c1d9e2c0f
ARTEMIS-742 = test fixes
...
https://issues.apache.org/jira/browse/ARTEMIS-742
2016-09-23 08:18:03 +01:00
Francesco Nigro
c002cf13b8
ARTEMIS-743 Created QueueConfig that replace and enable additional behaviours on QueueFactory.
...
Added Filter predicate.
2016-09-22 15:45:14 +01:00
Clebert Suconic
113c0c9360
ARTEMIS-738 Improving TX support on AMQP
...
https://issues.apache.org/jira/browse/ARTEMIS-738
2016-09-21 18:14:38 -04:00
Clebert Suconic
911ec30be1
ARTEMIS-740 Test on redeployment divert
2016-09-21 17:07:02 -04:00
Martyn Taylor
74742dcb66
Add Unique ClientID on Server
2016-09-16 16:05:20 +01:00
Howard Gao
406d09d986
ARTEMIS-728 Broker doesn't support unique jms client-id (qpid-jms client)
2016-09-15 11:17:02 -04:00
Jeff Mesnil
c33f29631f
ARTEMIS-714 Add suport for DataSource and SQLProvider
...
* add DataSource property to DatabaseStorageConfiguration to be able to
communicate with the data store using this DataSource instance instead
of relying on the creation the SQL connnection using the JDBC connection
URL/driver class name tuple.
* add SQLProvider.Factory property to DatabaseStorageConfiguration to
externalize the choice of the SQLProvider instead of relying on
hard-coded choices. If the property is null, the current behaviour will
be used (determing the SQLProvider based on the driver class name)
* bindingsJournal and messageJournal are already started in the start()
method. Remove redundant calls that were creating unused JDBC
connections that are never closed.
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-714
2016-09-15 11:15:24 -04:00
Clebert Suconic
2ed51bf327
ARTEMIS-734 adding tests showing the issue on expiring while inside the cluster bridge
2016-09-15 16:02:49 +01:00
Ville Skyttä
7bff07d5b1
Add missing @Overrides
2016-09-14 13:22:20 +03:00
Clebert Suconic
665281a558
Updating ActiveMQ into OpenWire tests
...
This will fix the testsuite for activemq5-unit-tests
2016-09-13 17:17:12 -04:00
Clebert Suconic
e81d101610
ARTEMIS-727 Fixing compilation on OpenWire tests
2016-09-12 19:10:28 -04:00
Clebert Suconic
f8278ec99c
ARTEMIS-727 Improving Thread usage on JDBC
...
https://issues.apache.org/jira/browse/ARTEMIS-727
2016-09-12 14:32:40 -04:00
Andy Taylor
cdb0391c1c
ARTEMIS-723 - AMQP subscriptions aren't deleted properly
...
https://issues.apache.org/jira/browse/ARTEMIS-723
2016-09-12 10:27:49 +01:00
Clebert Suconic
46d3f4abcc
Version upgrades
2016-09-09 14:49:33 -04:00
Timothy Bish
42ff4a6048
ARTEMIS-722 Add DELAYED_DELIVERY capability to server connection open
...
The server should indicate to clients that it supports the message
annotation that allows message delivery to be delayed
'x-opt-delivery-time'
2016-09-08 19:01:40 -04:00
Clebert Suconic
87d3c1c9bd
ARTEMIS-716 max replication = 0 should mean do not make copies at all
2016-09-08 17:17:04 +01:00
Clebert Suconic
505b732843
[maven-release-plugin] prepare for next development iteration
2016-09-06 12:17:31 -04:00
Clebert Suconic
b305e231ec
[maven-release-plugin] prepare release 1.4.0
2016-09-06 12:17:08 -04:00
jbertram
4bece40706
Fix test race condition
2016-09-06 09:26:59 -05:00
Clebert Suconic
4472aa0e36
ARTEMIS-581 Implement max disk usage, and global-max-size
...
max-disk-usage = how much of a disk we can use before the system blocks
global-max-size = how much bytes we can take from memory for messages before we start enter into the configured page mode
This will also change the default created configuration into page-mode as that's more reliable for systems.
2016-09-06 15:07:49 +01:00
Howard Gao
ec0f05f93d
ARTEMIS-706 No Keep Alives from Broker (test improvement)
...
-- make the test run quicker
2016-09-06 00:12:54 +08:00
Howard Gao
61747acfd1
ARTEMIS-706 No Keep Alives from Broker
2016-09-02 21:39:44 -04:00
jbertram
1cf96f4fcf
ARTEMIS-711 Fix handling of 'bare' header
2016-09-01 15:23:48 -04:00
Clebert Suconic
03b938468a
ARTEMIS-657 Fixing JORAM AMQP Tests
2016-08-31 14:26:10 -04:00
Howard Gao
8fccd5df42
ARTEMIS-696 Broker fails when client sends messages in multiple transfer frames
2016-08-30 17:24:31 -04:00
Gordon Sim
8f188ef236
ARTEMIS-657: ensure management response bodies are encoded into amqp
2016-08-30 17:12:19 -04:00
Clebert Suconic
6a1a1b085f
removing System.exit from test
2016-08-26 15:11:48 -04:00
Ville Skyttä
4ef9c5e238
Javadoc error fixes
2016-08-25 14:22:32 -04:00
Ville Skyttä
d5242978d5
for and while loop to foreach conversions
2016-08-25 14:22:32 -04:00
Ville Skyttä
e1728f0797
Spelling fixes
2016-08-25 14:22:32 -04:00
Ville Skyttä
30c617da3c
Unnecessary @SuppressWarnings fixes
2016-08-25 14:22:32 -04:00
Clebert Suconic
858d7a1a02
ARTEMIS-697 Making JChannelManager a singleton, and fixing tests
2016-08-24 18:08:17 -04:00
Clebert Suconic
92c5d5cd50
ARTEMIS-684 Random is not equaly distributed among different VMs
2016-08-23 19:36:54 -04:00
Clebert Suconic
a054713424
1.5.0.SNAPSHOT on extra-tests
2016-08-16 16:21:27 -04:00
Clebert Suconic
a3840c23c3
[maven-release-plugin] prepare for next development iteration
2016-08-16 11:59:55 -04:00
Clebert Suconic
d38ef19bf6
[maven-release-plugin] prepare release 1.4.0
2016-08-16 11:59:36 -04:00
Clebert Suconic
18563e4539
ARTEMIS-591 Improvement on Timeout check
2016-08-15 14:09:37 -04:00
jbertram
cfbe06f3bc
ARTEMIS-656 support host verification for SSL cert
2016-08-15 13:58:25 -04:00
Bennet Schulz
4ae18782da
ARTEMIS-680 some refactorings within Vert.X integration and corresponding tests
2016-08-14 12:48:35 -04:00
jbertram
b54de460c6
ARTEMIS-592 finer-grained security for queues
2016-08-11 18:32:54 -04:00
Clebert Suconic
7d684956e2
ARTEMIS-670 Adjusting package names on CLI and adding input for destination create name
2016-08-10 19:12:58 -04:00
Howard Gao
76e7992906
ARTEMIS-670 Adding destination creation and deletion cli commands
2016-08-10 15:44:10 -04:00
Martyn Taylor
7afd0fb028
ARTEMIS-677 Support websocket subprotocol handshakes
2016-08-10 11:07:47 -04:00
Clebert Suconic
04d482037c
ARTEMIS-601 Implementing reload manager on JMS Destinations and Address Settings
2016-08-10 10:03:40 -04:00
Gordon Sim
7a012008b7
ARTEMIS-447: add name and version to properties in amqp open frame
2016-08-10 08:56:44 -04:00
Ville Skyttä
330c65ba35
Remove unnecessary @SuppressWarnings("unchecked")
2016-08-09 11:24:22 +01:00
Clebert Suconic
579d6226aa
ARTEMIS-671 Returning messages after connection killed, and validating usage of reconnect
2016-08-09 11:23:46 +01:00
Howard Gao
2fb8341f8d
ARTEMIS-604 - Add checks for object messages in REST and AMQP
...
- Rest interface fix
- Doc fixes (Rest->REST)
- JSON management and AMQP outbound
2016-08-09 11:22:48 +01:00
Howard Gao
0535218cfc
ARTEMIS-604 - Message Serialization Improvement
...
- JMS and RA fixes
2016-08-09 11:22:48 +01:00
Martyn Taylor
0af13e0d03
ARTEMIS-669 Do binding query on sender link attach
...
QueueQuery was previously used instead of checking for bindings on a
particular address name. This meant sending and receiving only worked
for those queues that happened to have the same queueName to address.
This patch replaces this with binding check.
There's also some minor ProtonTest fixes included.
2016-08-09 08:21:41 +01:00
Martyn Taylor
2f721866ab
ARTEMIS-636 Add AMQP Hard Soft Limit for BLOCK
2016-08-05 15:29:01 +01:00
bayern39
a741642a48
[ARTEMIS-642] Disable slow client reconnecting with KILL slow client policy
2016-08-03 18:39:57 -04:00
Martyn Taylor
ab39e70dc9
ARTEMIS-666 Fix AMQP error message on address not found
2016-08-03 13:28:34 +01:00
Gordon Sim
bac991215d
ARTEMIS-446: use name from broker.xml as container id in AMQP open frame
2016-08-03 12:03:25 +01:00
jbertram
a69ce7bc81
Fix AcceptorControlUsingCoreTest
2016-08-02 12:56:01 -05:00
Clebert Suconic
5d11967ed4
ARTEMIS-659 Remove unneeded CDI dependency
2016-08-01 15:50:39 -04:00
jbertram
7917f4d2f2
ARTEMIS-565 JSON fixes
2016-08-01 10:21:31 -05:00
Ville Skyttä
29deb12ddb
ManagementContext.queryNames returns ObjectNames
2016-07-29 15:38:08 -04:00
Ville Skyttä
1bc42be7ff
Access static fields and methods directly
2016-07-29 15:38:08 -04:00
Ville Skyttä
17aca72516
Remove unnecessary field override
2016-07-29 15:38:08 -04:00
Ville Skyttä
eb5eca93b0
Fix check for KahaDB adapter in DurableSubsOfflineSelectorIndexUseTest
2016-07-29 15:35:25 -04:00
Ville Skyttä
c890164fda
Use try-with-resources some more
2016-07-29 15:32:57 -04:00
Ville Skyttä
a6a03d4985
Fix journal compact test slow appender loop counters
2016-07-28 23:30:02 +03:00
Ville Skyttä
fa191ba4c6
Fix JMS message null byte array equality tests
2016-07-28 23:30:02 +03:00
Ville Skyttä
0aa7dd1905
Fix Netty topology factory class test
2016-07-28 23:30:02 +03:00
Ville Skyttä
8562b8b448
Fix check for cursor complete in page cleanup test
2016-07-28 23:30:02 +03:00
Ville Skyttä
83adee59b2
Fix nonexistent property test for bytes
2016-07-28 23:30:02 +03:00
Ville Skyttä
04eed1b7f4
Fix some potential NPEs in examples and tests
2016-07-28 23:30:02 +03:00
Ville Skyttä
61222233ca
Fix SslTransportFactoryTest bind want/need auth test combinations
2016-07-28 23:30:02 +03:00
jbertram
8600ebd64d
ARTEMIS-565 fix TopicControlUsingJMSTest
2016-07-28 15:22:52 -04:00
Clebert Suconic
85878513a5
This closes #679
2016-07-28 12:32:36 -04:00
Ville Skyttä
f57b937cdd
Remove unused imports
2016-07-28 12:28:19 -04:00
Ville Skyttä
559ae07f2f
Use System.arraycopy for copying array
2016-07-28 12:28:18 -04:00
Ville Skyttä
68c7c2575d
Remove dead code
2016-07-28 12:28:18 -04:00
jbertram
1ca5b19a10
ARTEMIS-565 additional JSON fixes
2016-07-28 11:33:19 -04:00
Ville Skyttä
b2a9be1373
Spelling fixes
2016-07-28 18:14:35 +03:00
Ville Skyttä
429e1e84d4
Remove unnecessary casts
2016-07-28 18:12:59 +03:00
Ville Skyttä
b0815c6a4e
Remove unnecessary semicolon
2016-07-28 18:11:28 +03:00
Clebert Suconic
8873744d27
ARTEMIS-565 fixing JMS Control stuff
2016-07-27 19:14:32 -04:00
jbertram
3914f1aa8b
ARTEMIS-647 track 'killed' msg count on queue
...
A 'killed' message is one that has been sent to a dead-letter address
or otherwise removed from the queue due to exceeding the max delivery
attempts.
2016-07-27 16:44:59 -04:00
jbertram
a80c2bb442
ARTEMIS-565 more JSON fixes
2016-07-27 11:53:21 -05:00
jbertram
32abe61876
ARTEMIS-646 track expired msg count on queue
2016-07-26 16:15:02 -05:00
Clebert Suconic
76938fe44a
ARTEMIS-565 more tweaks on the JSON replacement
2016-07-26 16:05:17 -04:00
Andy Taylor
85ede22c3c
ARTEMIS-655 - [AMQP] On transacted session.commit() of receiver client, messages are read, but queue is not cleared out
...
Making sure that when a transaction state of accepted is returned we actually ack the message
https://issues.apache.org/jira/browse/ARTEMIS-655
2016-07-26 14:30:11 -04:00
jbertram
5d71ffc5e6
ARTEMIS-587 add more JSON JMX mgmt methods to core
2016-07-26 11:39:19 -04:00
Martyn Taylor
64e95b9b91
This closes #665
2016-07-26 15:14:40 +01:00
Ville Skyttä
aed49b3894
Spelling fixes
2016-07-26 14:24:45 +03:00
Martyn Taylor
b549bb243c
Add default AMQP flow behaviour and fix proton test
2016-07-26 11:14:25 +01:00
John D. Ament
d0ecf0f3a5
ARTEMIS-565 Replace json.org with javax.json
...
Javax.json is a newer JSR, but has an ASF compliant version, is pretty close to the original JSON.org API and will support a standard annotation based JSON-B solution at some point soon.
Updated integration tests and removed JSON.org from license.
2016-07-25 21:44:57 -04:00
Martin Styk
c9dfbad69c
ARTEMIS-651 Typo in word "topology" in class ServerLocatorImpl
2016-07-25 14:26:47 -04:00
jbertram
778bd8361a
ARTEMIS-650 clarify doc, use TTL default for 0 heartbeat
2016-07-25 16:27:30 +01:00
jbertram
c4a7ddf9d6
ARTEMIS-548 Stomp durable sub unsubscrbe
...
Implement ability for Stomp clients to unsubscribe durable
subscriptions.
2016-07-25 16:23:06 +01:00
Erich Duda
d0cb3b1d17
ARTEMIS-645 ClusteredGroupingTest fails
...
In testGroupingSendTo3queuesNoConsumerOnLocalQueue the batch
of messages can be received also by the second consumer. It
depends on cluster decision.
2016-07-25 10:53:48 +01:00
jbertram
7d8f9dcec6
ARTEMIS-611 send ERROR in case of TTL violation
...
I changed the message for TTL timeouts because the existing message was
a bit verbose and a bit speculative. Also, now that the broker supports
more protocols the bit about connection-ttl and
client-failure-check-period is less relevant.
2016-07-20 15:54:29 -05:00
Erich Duda
f4a0763baf
ARTEMIS-643 wrong paths in restricted-security-client.policy
...
user.dir points to current working directory from which the maven command
was invoked. If the command is not invoked from project root directory,
the generated paths are wrong what causes failures of some tests.
2016-07-20 14:15:14 +01:00
jbertram
b466cce593
ARTEMIS-234 fix content-length for Stomp 1.0
2016-07-20 13:40:57 +01:00
Martyn Taylor
4d60ced581
ARTEMIS-636 Implement AMQP AddressFull BLOCK
2016-07-20 10:33:44 +01:00
Martyn Taylor
5dfa1c59fb
ARTEMIS-638 Only allocate credits once Link Attach
2016-07-20 10:33:44 +01:00
Martyn Taylor
df41a60e21
ARTEMIS-637 Port 5.x AMQP test client
2016-07-20 10:33:44 +01:00
Ville Skyttä
39edf958a1
Add missing @Override annotations
2016-07-19 16:09:12 +01:00
jbertram
89e0c461e5
ARTEMIS-611 refactor STOMP cxn TTL + heart-beat
...
Adds 3 new URI properties for STOMP acceptors to allow finer grained
configuration of heart-beat / connection-TTL behavior.
2016-07-18 17:10:05 -05:00
jbertram
dc76e2a6a0
ARTEMIS-640 Allow config of cxn TTL check interval
...
Add connection-ttl-check-interval configuration attribute to allow
control of how frequently connection TTL checks are performed.
2016-07-18 17:06:26 -05:00
Erich Duda
4d16c0721a
ARTEMIS-634 JMSQueueControlUsingJMSTest fails
...
We have to wait some time until Artemis delivers all messages.
2016-07-15 09:38:17 -05:00
Jiri Danek
e6085dd98f
ARTEMIS-628 - Fix mismatched signatures in activemq5-unit-tests subproject
...
Previous commit added one more parameter to new Role() but the tests were not updated
2016-07-15 09:32:37 -05:00
Erich Duda
aebf87aeee
ARTEMIS-632 JMSServerControlUsingJMSTest fails
...
The testRemoteClientIDConnection fails. The failure occurs when
connection objects are destroyed by garbage collector before time.
2016-07-15 09:30:53 -05:00
Erich Duda
2ad8d6a504
ARTEMIS-342 NettySecurityClientTest fails
...
Security client requires additional permissions.
2016-07-15 09:30:26 -05:00
Erich Duda
da9d67335d
ARTEMIS-621 Several tests do not use getUDPDiscoveryAddress
...
Fixing the commit 8fdc7a6788
2016-07-15 09:29:44 -05:00
jbertram
8a66d5f485
ARTEMIS-573 clarify filter documentation
2016-07-14 11:29:05 +01:00
jbertram
e9db9c286d
ARTEMIS-628 add BROWSE role
2016-07-12 16:21:57 -05:00
Erich Duda
8fdc7a6788
ARTEMIS-621 Several tests do not use getUDPDiscoveryAddress
2016-07-11 13:46:08 -04:00
Francesco Nigro
36555a10c5
ARTEMIS-623/ARTEMIS-622 Added memory mapped impl of Sequential File + benchs.
...
Added experimental GCFree Journal impl + benchs + Sequentially Encoded Aligned Binary Protocol.
https://issues.apache.org/jira/browse/ARTEMIS-622
https://issues.apache.org/jira/browse/ARTEMIS-623
2016-07-11 13:36:47 -04:00
Clebert Suconic
246d11c6b1
ARTEMIS-616 Use Call timeout on replication flow control
2016-07-06 19:12:25 -04:00
jbertram
4f36033c28
ARTEMIS-584 fix test
2016-07-06 19:11:13 -04:00
Jiri Danek
172c696865
NO-JIRA Clean up xml files
...
Duplicated dependency declarations on a few pom.xml files were causing the Maven warnings. These duplicated dependencies were removed.
File `server-start-stop-backup-jms-config1.xml` was malformed. A missing quotation mark was added.
2016-07-06 17:16:16 -04:00
jbertram
765b225924
ARTEMIS-584 add validated user to msg
...
Implements a new feature to aid in security auditing by adding the name
of the validated user to the messages it sends.
2016-07-06 09:37:29 -05:00
barreiro
b8d6a374a0
More changes on the reclaimer for better performance
2016-07-05 23:28:00 -04:00
John D. Ament
7c746c719e
ARTEMIS-607 Added interceptor support for MQTT protocol.
...
Also updated the maintainer's guide to clarify what is run in the PR builder.
2016-07-05 19:43:00 -04:00
Clebert Suconic
05ac53a305
ARTEMIS-409 fixing test
2016-07-05 19:41:49 -04:00
Clebert Suconic
8154120027
ARTEMIS-612 Improving Failback's max replication
...
The server will always restart now, with older files being removed.
The system will now move current data into ./oldreplica.#, and remove old ones.
All the logic for moving these files is encapsulated at FileMoveManager.
2016-07-05 16:51:23 -05:00
Ville Skyttä
358aff4892
Remove unused import
2016-07-05 14:18:01 -04:00
Martyn Taylor
515b5aba89
Upgrade ApacheRat to 0.12
2016-07-04 17:31:15 +01:00
Erich Duda
45e4138fad
ARTEMIS-606 JMSServerControl2Test#testCloseConsumerConnectionsForAddressForInVM fails
...
Based on log it is clear that the connection was closed by Finalizer before the failure
was caused by the test itself. Since the connection variable is not referenced in the
code anymore, JVM concludes it can destroy the object. Especially IBM JDK does it very
fast.
2016-07-01 19:34:43 -04:00
Clebert Suconic
5dc5a242bb
ARTEMIS-577 & ARTEMIS-596 Fixing API compatibility.
...
This is also fixing a build issue.
2016-06-27 12:08:11 -04:00
jbertram
ce9ea1760a
ARTEMIS-569 fix bridge producerWindowSize
...
Something bizarre happened with commit
8f52a622d0
in April 2015. It reverted the
changes from both c1111cc156
and
ada112a6a3
. This commit fixes that.
2016-06-24 16:54:48 -05:00
Tom Ross
5bca681c1a
ARTEMIS-596 JMS Bridge messages should be identified.
...
In cases where there are many JMS bridges defined on a broker it should
be possible to identify any error message by a bridge name.
2016-06-24 16:11:29 +01:00
Timothy Bish
75f18d1e10
ARTEMIS-585 support send on dynamic sender link
...
The sender abstraction must be able to update its sender address in the
case of dynamic senders whose target address is not set until the code
initializes the link and creates a destination for it.
2016-06-21 09:33:33 -04:00
Howard Gao
109ce6ded9
ARTEMIS-571 Fix issues in openwire testsuite
...
* Redelivery count fix
* Regression in BrokerTest
2016-06-17 14:58:54 -04:00
jbertram
7715b5ee12
ARTEMIS-529 support dual auth
...
A new feature whereby 2-way SSL connections can be authenticated differently
than non-SSL connections.
2016-06-17 11:07:03 -05:00
Ville Skyttä
2edfab22aa
Fix/update some links in docs
2016-06-17 11:59:28 +03:00
Ville Skyttä
33a51223b0
Remove redundant type arguments
2016-06-14 20:50:21 -04:00
Ville Skyttä
3923ae45f4
Fix checkstyle redundant modifier violations
2016-06-13 20:03:54 +03:00
Ville Skyttä
e493748040
Fix checkstyle curly brace violations
2016-06-13 18:21:43 +03:00
Ville Skyttä
fb56cc7414
Update maven-checkstyle-plugin to 2.17
2016-06-13 16:46:41 +03:00
jbertram
ff92f98983
Fix possible leaks in LDAP tests
2016-06-09 14:07:51 -04:00
Clebert Suconic
249056367d
Fixing a few intermittent test failures
2016-06-09 10:10:58 -04:00
Martyn Taylor
9ae39f663f
[maven-release-plugin] prepare for next development iteration
2016-06-09 12:52:56 +01:00
Martyn Taylor
221039e353
[maven-release-plugin] prepare release 1.3.0
2016-06-09 12:49:13 +01:00
Martyn Taylor
319439ab27
[maven-release-plugin] prepare for next development iteration
2016-06-09 12:25:19 +01:00
Martyn Taylor
2c5ab446be
[maven-release-plugin] prepare release 1.3.0
2016-06-09 12:24:48 +01:00
Martyn Taylor
4a07091718
[maven-release-plugin] prepare for next development iteration
2016-06-09 11:25:03 +01:00
Martyn Taylor
93cf7b4b9b
[maven-release-plugin] prepare release 1.3.0
2016-06-09 11:23:03 +01:00
Martyn Taylor
a261feafd8
Bump extra test version after release tag
2016-06-08 13:42:36 +01:00
Martyn Taylor
4574b3ee13
[maven-release-plugin] prepare for next development iteration
2016-06-08 11:03:35 +01:00
Martyn Taylor
2b3d22c5cc
[maven-release-plugin] prepare release 1.3.0
2016-06-08 11:02:14 +01:00
Clebert Suconic
fcaef51963
test fix
2016-06-07 17:03:41 -04:00
Clebert Suconic
065f9945eb
Fixing test faliure
2016-06-07 17:03:41 -04:00
Clebert Suconic
2e6586548b
ARTEMIS-552 Replication target being finished can lead to instability on live
...
https://issues.apache.org/jira/browse/ARTEMIS-552
2016-06-06 16:28:51 -04:00
jbertram
e53649a6b9
ARTEMIS-322 auto-create/delete JMS topic
...
Implements a new feature for the broker whereby it may automatically create and
delete JMS topics which are not explicitly defined through the management API
or file-based configuration. A JMS topic is created in response to a sent
message or connected subscriber. The topic may subsequently be deleted when it
no longer has any subscribers. Auto-creation and auto-deletion can both be
turned on/off via address-setting.
2016-06-06 16:00:57 -04:00
Clebert Suconic
a4055816b3
ARTEMIS-539 Proper fix on default address for core protocol
...
The previous fix was breaking compatibility with older servers.
We need to check the default address if an exception happened during the send (due to flow control or blocker)
2016-06-06 15:38:29 -04:00
Clebert Suconic
8fdd1f6496
Revert "ARTEMIS-539"
...
This reverts commit a3efafd975
.
This reverts commit cf3396a3a6
.
This reverts commit 17ea05bce6
.
This reverts commit af4aa9fcb6
.
2016-06-06 14:12:25 -04:00
Dejan Bosanac
eaeba6f809
update osgi bundle and make postgres dependency optional
2016-06-03 17:39:49 -04:00
Martyn Taylor
634fc1b482
Added MySQL Support
2016-06-01 19:04:25 +01:00
Martyn Taylor
fda6789d96
Add Derby dep to Stress Tests pom
2016-06-01 16:09:42 +01:00
Martyn Taylor
79904aeb64
Add PostGres Driver
2016-06-01 16:09:42 +01:00
Martyn Taylor
466d43c63d
Refactored JDBC Sequential File Factory
2016-06-01 16:09:42 +01:00
Dejan Bosanac
d891e47774
ARTEMIS-537 - final improvements to OSGi integration and documentation update
2016-05-27 13:51:21 +02:00
Martyn Taylor
8507a5c6f0
Add STOMP-MQTT cross protocol tests
2016-05-25 15:37:20 -04:00
Clebert Suconic
af4aa9fcb6
ARTEMIS-539 ServerSession defaultAddress can get out of sync after full queues
2016-05-25 14:10:17 -05:00
Martyn Taylor
0d8a565836
Artemis-233 Support JMS BytesMessage -> MQTT
2016-05-25 17:59:00 +01:00
Martyn Taylor
3c7c2ed5d3
ARTEMIS-233 Remove MQTT Address PreFix for cross protocol support
2016-05-25 17:59:00 +01:00
Clebert Suconic
10dfe97ec0
Adding JORAM Tests for AMQP with a few fixes around the protocol manager for JMS
2016-05-25 09:41:40 -04:00
Dejan Bosanac
5db163753d
https://issues.apache.org/jira/browse/ARTEMIS-537 - allow artemis to work properly with karaf jaas implementation
2016-05-25 09:33:56 -04:00
Erich Duda
fb9d09744d
ARTEMIS-538 - [Artemis Testsuite] JMSFailoverListenerTest#testManualFailover fails
...
ActiveMQConnection implements FailoverEventListener which executes client's
FailoverEventListeners in separated threads in background. The old implementation
does not guarantee ordering of their executions. The commit improves the
implementation to guarantee it.
2016-05-25 13:24:08 +02:00
Andy Taylor
73f908b8b4
ARTEMIS-535 - Improve amqp protocol to support topics
...
https://issues.apache.org/jira/browse/ARTEMIS-535
2016-05-24 13:26:24 +01:00
Clebert Suconic
5593fa5d3a
new logging.properties and trace format
2016-05-20 12:34:04 -05:00
jbertram
76f6c9c3bd
Make a few tests more robust
2016-05-20 11:24:55 -05:00
Dejan Bosanac
e994eda356
ARTEMIS-521 - OSGi support - add unit test
...
ARTEMIS-521 - OSGi support - move unit test to integration tests
2016-05-19 11:53:31 -05:00
Erich Duda
17322fb57a
ARTEMIS-527 - [Artemis Testsuite] TopicControlTest fails
2016-05-19 10:53:27 +02:00
Clebert Suconic
37bc511f96
ARTEMIS-525 Adding test on interrupted exception and regular receivers
2016-05-18 21:43:21 -04:00
Clebert Suconic
3e2adf123b
ARTEMIS-524 Paging could lose data eventually after crashes
...
https://issues.apache.org/jira/browse/ARTEMIS-524
I am keeping all the debug ad tracing I added during the debug of this issue,
for that reason this commit may look longer than expected
The fix will be highlited by the tests added on org.apache.activemq.artemis.tests.integration.client.PagingTest
2016-05-17 20:28:40 -04:00
Ville Skyttä
81956e1716
Use StandardCharsets more
2016-05-16 12:09:46 -04:00
jbertram
04c9564d77
ARTEMIS-517 API to check sync with backup
2016-05-16 10:01:18 -05:00
Ville Skyttä
09a0b98d24
Remove redundant type arguments
2016-05-13 21:56:04 +03:00
Martyn Taylor
54752a9ced
ARTEMIS-46 Adds AMQP Drain Support
2016-05-11 12:04:58 +01:00
Erich Duda
a622fa7443
ARTEMIS-518 - Improvement of default thread factory
2016-05-09 14:33:41 -04:00
jbertram
9794ac769b
Make ScaleDownTest#testStoreAndForward more robust
2016-05-06 13:25:59 -05:00
jbertram
2a2a94733b
Fix ScaleDownTest
2016-05-06 10:26:02 -05:00
jbertram
19147113cb
Fix RaceOnSyncLargeMessageOverReplication2Test
2016-05-05 20:21:18 -05:00
jbertram
41800c2aa8
Fix/update auto-create/delete tests
2016-05-05 20:21:09 -05:00
jbertram
ad24c58c64
Fix InterceptorTest
2016-05-05 09:55:50 -04:00
Andy Taylor
f4f35fc2f5
fixing test
...
create consumer before sending message so queue is auto created
2016-05-05 13:00:53 +01:00
jbertram
1d770e49f0
Fix RaceOnSyncLargeMessageOverReplicationTest
2016-05-04 15:28:23 -05:00
jbertram
89a0ffe1b2
Fix GroupIDTest failure
2016-05-04 15:16:51 -05:00
jbertram
d36a22c4a7
Fix AutoGroupingTest failure
2016-05-04 15:14:32 -05:00
jbertram
170d5c1296
Fix ActiveMQServerControlUsingCoreTest
...
When using the "core" control some of the metrics change slightly and
those changes have to be accounted for in the tests.
2016-05-04 14:12:22 -05:00
Martyn Taylor
2fdbba54dc
Switch File Based Large Message Tests
2016-05-04 14:48:51 -04:00
jbertram
9accf62753
Fix LargeMessageOverReplicationTest
...
It's not necessary to prefix the queue name with "jms.queue." when
creating a queue with a JMS session.
2016-05-04 13:44:56 -05:00
Martyn Taylor
1c3d63516f
ARTEMIS-514 Add support for LargeMEssages backed by Database
2016-05-04 13:36:28 -04:00
jbertram
d1a687a98f
ARTEMIS-510 create queue only on route
2016-05-03 10:59:51 +01:00
Howard Gao
ada6600ee3
ARTEMIS-505 Fix OptimizedAckTest and testCloseConsumer
...
OptimizedAckTest: Using core api to replace old activemq
broker API to checking message count.
JmsQueueTransactionTest#testCloseConsumer: a bug in
delivery when prefetchSize is 0.
(InitalReconnectDelayTest)close connection after test.
2016-04-27 10:06:14 -04:00
Howard Gao
fcda12f92c
ARTEMIS-214 exception when sending 10k message
2016-04-26 10:04:24 -04:00
Andy Taylor
9a17681f83
ARTEMIS-503 - replace proton-jms with proton-jms from ActiveMQ
...
https://issues.apache.org/jira/browse/ARTEMIS-503
2016-04-25 14:13:30 +01:00
Howard Gao
3012447404
ARTEMIS-488 Fix OpenWire Test (Temp Queue removal and others)
...
Temp Queue not deleted when connection is closed.
Enable Stomp in openwire test because some test uses it.
Remove unused code in opwnwire
Wrong XA error code returned when xid is missing
(ActiveMQXAConnectionFactory.testRollbackXaErrorCode)
regression in ActiveMQSslConnectionFactoryTest (SSL related)
2016-04-20 12:33:01 -04:00
Bernd Gutjahr
1b5396c033
Protected ActiveMQClient API against misuse.
...
1. Changed public fields in ActiveMQClient to private and added getters.
Exposing fields for thread pool sized allow to modify them in undesired ways.
I made these fields private and added corresponding getter methods.
In addition, I renamed the field 'globalThreadMaxPoolSize'
to 'globalThreadPoolSize' to be more consistent with the
'globalScheduledThreadPoolSize' field name.
I also adapted some tests to always call clearThreadPools after
the thread pool size configuration has been changed.
2. Protect against injecting null as thread pools
ActiveMQClient.injectPools allowed null as injected thread pools.
The effect was that internal threads pools were created,
but not shutdown correctly.
2016-04-20 15:29:25 +01:00
Paul Gallagher
a3ffa9aa34
Update to use one version of slf4j defined at the top level pom
2016-04-20 14:14:45 +01:00
jbertram
9d7a49b388
ARTEMIS-417 more broker-level JMX attrs
2016-04-19 23:00:32 -04:00
Clebert Suconic
dcf651376f
ARTEMIS-490 Adding test with LargeMessage.copy through replication
...
I'm keeping a commit just for the test so it would be easier to replicate the bug.
2016-04-19 15:00:09 +01:00
jbertram
30907ffd8c
ARTEMIS-400 allow SSL store reload
2016-04-18 17:51:46 -04:00
Clebert Suconic
86a81d315d
ARTEMIS-465 Changing Byteman race on test
2016-04-14 18:55:01 -04:00
Howard Gao
ee20248404
ARTEMIS-478 Improve Openwire SslBrokerServiceTest
...
Some of the SSL tests in openwire requires to pass in more options like
enabledCipherSuites. It needs to refactor the test util to allow passing
of those options to broker.
And some of the cipher suite is obsolete in recent jre. Meaning they
are disabled by default for security reasons
(e.g. SSL_RSA_WITH_RC4_128_SHA). This will cause SSL handshake failure.
It can be fixed by using a more secure (not disabled) one, like
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
2016-04-12 17:26:51 -04:00
Andy Taylor
8a72f8906a
ARTEMIS-453 - AMQP reply-to property is stripped off message as it goes through broker
...
TheJMSVendor protocol convertor class was not creating the destinations so any destination calls, setTo and setJMSReplyTo, were ignored. Ive added a server side destination class to bypass the naming checks we have on the client and this now sets everything correctly
https://issues.apache.org/jira/browse/ARTEMIS-453
2016-04-12 10:24:13 +01:00
Howard Gao
507193f714
ARTEMIS-477 Fix Certificate Issues in openwire test
...
also added a method impl to return a true uri instead of null.
2016-04-11 16:55:58 -04:00
Ville Skyttä
487b09fccc
Replace some manual array copies with System.arraycopy
2016-04-11 16:52:10 -04:00
Ville Skyttä
e6e1311f8d
Add missing @Overrides
2016-04-11 16:51:01 -04:00
Erich Duda
9055c76cc8
ARTEMIS-475 - [Artemis Testsuite] SessionCloseTest#testCanNotUseXAWithClosedSession fails
2016-04-08 10:07:09 -04:00
Clebert Suconic
50eac7c824
ARTEMIS-468 Amendments to how redelivery count is handled on openwire
2016-04-07 13:56:31 -04:00
Clebert Suconic
7da22ff105
ARTEMIS-465 Testing possible races through large message replication
2016-04-04 23:15:54 -04:00
Clebert Suconic
91bdeb3728
ARTEMIS-464 Sending null textMessage shouldn't break the wire
2016-04-04 11:08:43 -05:00
Clebert Suconic
3aedf27386
ARTEMIS-463 More simplifications on the openwire head
...
https://issues.apache.org/jira/browse/ARTEMIS-463
This will have some extra refactoring on the protocol head, transferring responsibility to the broker classes in a lot of cases
and removing some duplicated code
This was a team effort from Clebert Suconic and Howard Gao
2016-04-04 11:08:43 -05:00
Clebert Suconic
6ddf486f8f
ARTEMIS-463 Refactoring on Openwire
...
https://issues.apache.org/jira/browse/ARTEMIS-463
This was a team effort from Clebert Suconic and Howard Gao
2016-04-04 11:08:43 -05:00
Clebert Suconic
2e66673048
ARTEMIS-463 Improvement to the openwire testsuite
...
https://issues.apache.org/jira/browse/ARTEMIS-463
This was a team effort from Clebert Suconic and Howard Gao
2016-04-04 11:08:43 -05:00
jbertram
69a97c3678
ARTEMIS-462 JMSXGroupID on JMS 2 producer
2016-04-04 12:05:39 -04:00
Ville Skyttä
16ee65309c
Add missing @Override annotations
2016-04-04 11:03:48 -05:00
jbertram
32ce8710fc
ARTEMIS-445 avoid NPE on null ks password
2016-03-21 18:35:21 -04:00
Erich Duda
edadc79c5f
ARTEMIS-442 - [Artemis Testsuite] ConcurrentDeliveryCancelTest#testConcurrentCancels calls System.exit
2016-03-18 09:35:40 +01:00
Clebert Suconic
ee6a03295f
ARTEMIS-437 Improving lock over certain protocols
...
Avoiding deadlocks between acks and other factors
2016-03-16 08:23:58 -04:00
Clebert Suconic
45d1194009
ARTEMIS-437 tweak on the test. Making sure the test fails over during the message sends
2016-03-11 16:55:10 -05:00
Clebert Suconic
26fe21baa4
ARTEMIS-437 Large Message send should be interrupted during failover
2016-03-11 13:13:32 -05:00
Erich Duda
9b60e558eb
ARTEMIS-430 - [Artemis Testsuite] ClosingConnectionTest#testKillConnection fails
2016-03-11 07:25:34 +01:00
Erich Duda
b6922c25f9
ARTEMIS-429 - [Artemis Testsuite] TopicControlUsingJMSTest#testGetXXXMessagesCount fails
2016-03-10 08:50:13 -05:00
Erich Duda
fa210de323
ARTEMIS-428 - [Artemis Testsuite] ReconnectTest#testInterruptReconnectInVMInterruptMainThread fails
2016-03-10 12:04:50 +01:00
Ville Skyttä
31404f8a38
Remove redundant null checks
2016-03-07 15:49:50 -05:00
Ville Skyttä
7c275cdb1a
Use generics more
2016-02-28 01:06:59 +02:00
Clebert Suconic
45aeeb3ba7
Revert "ARTEMIS-359 - test suite fix - IBM JDK 6/7/8 does not allow byteman agent to modify classes."
...
This is causing issues with running tests on the IDEs
This reverts commit fe9b95ed64
.
2016-02-24 13:42:52 -05:00
Howard Gao
ddf8d8f96e
ARTEMIS-421 wrong XA_RETRY XAException error code
...
returned on crash for 1PC
2016-02-24 22:23:57 +08:00
Erich Duda
a4c4f811eb
ARTEMIS-415 - [Artemis Testsuite] NettyPagingSendTest#testPagingDoesNotDuplicateBatchMessages
2016-02-22 10:32:24 -05:00
Erich Duda
4557f713f5
ARTEMIS-414 - [Artemis Testsuite] TemporaryQueueClusterTest#testClusteredQueue fails
2016-02-19 13:32:54 -05:00
Clebert Suconic
02afdbbb12
Upgrade proton to 0.12
2016-02-18 10:14:26 -06:00
Clebert Suconic
9ebc6786b6
ARTEMIS-401 Refactoring Acceptors and ProtocolManager to support parameters
...
https://issues.apache.org/jira/browse/ARTEMIS-401
2016-02-18 10:14:26 -06:00
Erich Duda
81d57361e8
ARTEMIS-403 - [Artemis Testsuite] AlmostLargeAsynchronousFailoverTest#testTransactional fails
2016-02-18 14:45:24 +01:00
Erich Duda
53987a99da
ARTEMIS-396 - [Artemis Testsuite] ReceiveTest#testReceiveImmediate fails
2016-02-16 11:54:59 -05:00
Erich Duda
ce906c8420
ARTEMIS-287 - [Artemis Testsuite] PagingTest#testDeleteQueueRestart fails on slower machines
2016-02-10 16:45:30 +01:00
Clebert Suconic
ece5d81e3d
ARTEMIS-388 fixing testsuite
...
(the socket.bind not being closed was preventing other tests to run successfully)
2016-02-09 18:59:47 -05:00
Clebert Suconic
60b828083d
Fixing testsuite's dependency on Derby
2016-02-09 15:00:39 -05:00
jbertram
dffe93152b
ARTEMIS-395 auto-delete only if setting is true
2016-02-09 14:24:51 -05:00
jbertram
94dc2976ef
ARTEMIS-388 listen for activation failures
2016-02-09 14:24:07 -05:00
Erich Duda
82eca32ba4
ARTEMIS-364 - [Artemis Testsuite] PagingTest#testPagingDifferentSizes fails
2016-02-08 16:59:13 -05:00
Erich Duda
efffe9c263
ARTEMIS-365 - [Artemis Testsuite] AddressControlTest#testGetNumberOfPages fails
2016-02-08 10:40:50 -06:00
Martyn Taylor
32a9d60a3d
Allow users to configure jdbc driver class name
...
This patch allows users to configure the Driver class that the JDBC
store and journal uses and removes Derby as a default.
2016-02-08 11:23:38 -05:00
Clebert Suconic
26945a4716
ARTEMIS-385 On a possible race the Topology final notification may get lost when using many connection factories
...
https://issues.apache.org/jira/browse/ARTEMIS-385
This fix will make sure we only wait for the topologies that are arriving from the current connection over the createFactory method
2016-02-04 09:35:08 -05:00
Erich Duda
5f1daf485c
ARTEMIS-381 - [Artemis Testsuite] LargeMessageOverBridgeTest.testSendBytesAsLargeOnBridgeOnly fails
2016-02-02 15:13:48 +01:00
jbertram
1eb631e2b8
ARTEMIS-374 support schedule messages on LVQ
2016-02-01 11:58:56 -06:00
Erich Duda
3d6531e570
ARTEMIS-379 - [Artemis Testsuite] BackupSyncLargeMessageTest.testReserveFileIdValuesOnBackup fails
2016-02-01 10:08:15 -05:00
Erich Duda
0db2d3f097
ARTEMIS-377 - [Artemis Testsuite] NettySecurityClientTest#testProducerConsumerClientWithSecurityManager fails
2016-02-01 10:06:12 -05:00
Andy Taylor
ecfa1fecc2
ARTEMIS-378 - expose some Network info via the management interfaces
...
https://issues.apache.org/jira/browse/ARTEMIS-378
2016-02-01 12:11:28 +00:00
Erich Duda
062a675a53
ARTEMIS-369 - [Artemis Testsuite] BridgeFailoverTest#testFailoverOnBridgeNoRetryOnSameNode fails
2016-01-29 09:30:45 -05:00
Erich Duda
3663f4c01e
ARTEMIS-368 - [Artemis Testsuite] TemporaryQueueTest#testBlockingWithTemporaryQueue fails
2016-01-29 09:57:49 +01:00
Clebert Suconic
a5aa44670d
Improvements on JDBC Test
2016-01-27 21:56:59 -05:00
Clebert Suconic
e62a820414
Fixing ServerMessage's copy and MQTT delivery
2016-01-27 17:12:56 -05:00
Clebert Suconic
4a20187ff2
Fixing name on JDBC tests
2016-01-27 14:25:57 -05:00
jbertram
ff95b216ef
ARTEMIS-357 test for client buffer mod
2016-01-27 13:21:17 -05:00
Lachezar Dobrev
0827d23ae3
Remove duplicate references to artemis-cli in pom.xml in tests.
...
Fixed pom.xml in integration-tests and unit-tests
Fixes warnings from Maven 3
2016-01-27 12:18:11 -05:00
Martyn Taylor
5383a0c409
Handful of JDBC Journal Fixes
...
This patch fixes a number of bugs with the JDBC Journal implementation.
Mainly around how it was handling transactions. The XA transactions
tests are now enabled to test both the File and Database store.
2016-01-27 12:17:55 -05:00
Erich Duda
79f39693f3
ARTEMIS-365 - [Artemis Testsuite] AddressControlTest#testGetNumberOfPages fails
2016-01-27 12:17:29 -05:00
Erich Duda
2a756942ba
ARTEMIS-364 - [Artemis Testsuite] PagingTest#testPagingDifferentSizes fails
2016-01-27 12:17:12 -05:00
Erich Duda
4ff20777d5
ARTEMIS-363 - [Artemis Testsuite] PagingTest#testDropMessages fails
2016-01-27 13:55:10 +01:00
Ville Skyttä
77d2e85838
Change StompV12Test to use waitDisconnect more
2016-01-26 16:34:04 -05:00
Clebert Suconic
af150b5bea
small improvement on stomp test
2016-01-25 21:33:28 -05:00
Ville Skyttä
2c4312d4f2
Disconnect on STOMP 1.2 errors
...
https://stomp.github.io/stomp-specification-1.2.html#ERROR
2016-01-25 21:33:28 -05:00
Ville Skyttä
4e5b5b393a
Access static methods and fields directly
2016-01-25 12:12:54 -05:00
Miroslav Novak
fe9b95ed64
ARTEMIS-359 - test suite fix - IBM JDK 6/7/8 does not allow byteman agent to modify classes.
2016-01-25 11:21:29 -05:00
Ville Skyttä
09a3f224cd
ARTEMIS-358 test case for topic disappearing on disconnect without unsubscribe
2016-01-25 11:19:54 -05:00
Martyn Taylor
4922a7618a
Bump to next version to 1.3.0-SNAPSHOT
2016-01-20 17:25:07 +00:00
Andy Taylor
c1de710eb3
ARTEMIS-346 - Add Management send text message functionality similar to ActiveMQ
...
https://issues.apache.org/jira/browse/ARTEMIS-346
2016-01-20 10:35:36 -05:00
Clebert Suconic
3f23c9916e
ARTEMIS-347 - supporting URIs on the cluster connection
2016-01-19 17:35:12 -05:00
jbertram
d94c044e90
ARTEMIS-349 LDAP plugin listener
...
This feature required a bit of refactoring to the plugin interface itself as
well as a restriction on the configuration so that either only one plugin could
be specified or an ulimited number of security-setting matches. This was done
to prevent messy situations where a plugin could update settings from the XML
or even another plugin if there were overlapping matches.
2016-01-19 09:45:52 -05:00
Clebert Suconic
dddd0a1efe
https://issues.apache.org/jira/browse/ARTEMIS-345 fixing URI for inVM throwing a log.warn
2016-01-13 17:48:23 -05:00
Clebert Suconic
23aa933ad7
fixing PagingTest
2016-01-13 17:10:11 -05:00
Clebert Suconic
74245a58bd
fixing PagingTest
2016-01-13 15:03:55 -05:00
Erich Duda
18e97d55c9
ARTEMIS-343 - [Artemis Testsuite] DivertTest.testSingleNonExclusiveDivert3 fails
2016-01-13 10:15:01 -05:00
Erich Duda
7c22ebee12
ARTEMIS-342 - [Artemis Testsuite] NettySecurityClientTest.testProducerConsumerClientWithSecurityManager fails
2016-01-13 10:14:34 -05:00
Erich Duda
0c9c3defd6
ARTEMIS-341 - [Artemis Testsuite] ConsumerTest.testAcksWithSmallSendWindow[isNetty=false||true] fails
2016-01-13 10:14:11 -05:00
Martyn Taylor
64f74acdbc
ARTEMIS-27 / ARTEMIS-340 Add JDBC Storage Manager
2016-01-13 09:38:40 -05:00
Martyn Taylor
9b351d8236
ARTEMIS-27 / ARTEMIS-338 Refactor Journal Encodings into new package
2016-01-13 09:38:08 -05:00
Clebert Suconic
2d3061d9b6
Improvements on Thread check
2016-01-12 17:22:56 -05:00
Erich Duda
2c0f1df827
ARTEMIS-337 - [Artemis Testsuite] LiveToLiveFailoverTest.testNonTransactedWithZeroConsumerWindowSize fails
2016-01-12 16:24:34 -05:00
Andy Taylor
ea3c3e0aef
ARTEMIS-334 - Add Management browse functionality similar to ActiveMQ
...
https://issues.apache.org/jira/browse/ARTEMIS-334
2016-01-12 14:26:57 +00:00
Clebert Suconic
5df57234d1
fixing thread leakage from test
2016-01-12 08:16:21 -05:00
Clebert Suconic
ee962dc137
fixing missing tearDown call
2016-01-11 22:51:31 -05:00
Clebert Suconic
c945879dec
fixing hanging test
2016-01-11 21:00:48 -05:00
Clebert Suconic
e56ca95fdc
Dealing with expected IBM JDK thread and refactoring the Thread check as a Rule
2016-01-11 20:02:46 -05:00
Clebert Suconic
4e5ec13558
fixing checkstyle
2016-01-11 20:02:45 -05:00
Clebert Suconic
d9ac06a907
remove now invalid tests
...
Since we are removing the finalize cleanup these tests are now invalid
2016-01-11 19:43:31 -05:00
Martyn Taylor
945963ed07
Remove DelegatingSession class
...
DelegatingSession class wraps ClientSessionImpl and attempts to close
session should it not be closed by the user. It does this by
implementing finalize. However, the order in which finalize runs can be
difficult to predict as compilers, and JIT compilers are able to
optimize early.
The current DelegatingSession was causing problems of finalize getting
called early (before consumers, producers were finished with the
session). This was causing tests to fail on the IBM JDK (which
optimizes early). The same happens on OpenJDK if the GC is forced.
2016-01-11 19:43:10 -05:00
Ville Skyttä
f85e5e7922
Deprecation fixes
2016-01-11 13:22:18 -05:00
Ville Skyttä
66e82be652
Remove dead code
2016-01-11 13:21:26 -05:00
Ville Skyttä
389762cb3a
Add missing @Overrides
2016-01-11 13:20:57 -05:00
Clebert Suconic
7820fd6d60
ARTEMIS-332 avoid shutting down the server after interrupted threads on paging
2016-01-07 16:08:38 -05:00
Clebert Suconic
6b42f26283
fixing thread leakage from jgroups test
2016-01-07 15:07:59 -05:00
Clebert Suconic
a5a993ed9d
ARTEMIS-332 - test added / better dealing with critical errors on paging
2016-01-06 19:42:45 -05:00
jbertram
6e702724b9
ARTEMIS-333 Redistribution + groups tests failing
2016-01-06 16:15:19 -06:00
jbertram
e899c850e7
ARTEMIS-218 auto-create in cluster
2016-01-05 14:02:05 -06:00
jbertram
978f8eeda8
ARTEMIS-331 support 0-length large msg
2016-01-05 10:44:54 -05:00
jbertram
454e5b66ff
ARTEMIS-177 create/destroy subscription race
2016-01-05 10:44:13 -05:00
Clebert Suconic
96849a42b7
ARTEMIS-332 - Duplicate delivery over Bridges under OME scenarios, paging and other failures
...
https://issues.apache.org/jira/browse/ARTEMIS-332
2016-01-04 20:49:28 -05:00
Martyn Taylor
2c430e597b
[maven-release-plugin] prepare for next development iteration
2016-01-04 11:50:36 +00:00
Martyn Taylor
f182c806b6
[maven-release-plugin] prepare release 1.2.0
2016-01-04 11:49:58 +00:00
Martyn Taylor
5f32e6575c
[maven-release-plugin] prepare for next development iteration
2016-01-04 09:24:34 +00:00
Martyn Taylor
150c5d87aa
[maven-release-plugin] prepare release 1.2.0
2016-01-04 09:19:35 +00:00
Ville Skyttä
d48e344a8f
Add missing @Overrides
2015-12-21 22:06:03 -05:00
Ville Skyttä
a0dc9861a0
Access static members directly
2015-12-21 22:01:21 -05:00
Ville Skyttä
2cb74839f9
Remove redundant type arguments
2015-12-21 21:57:16 -05:00
Ville Skyttä
93a53e1cda
Fix UUIDGenerator.getHardwareAddress on recent Java versions
...
Enable related tests on all Java versions and drop < 1.7 support code.
2015-12-21 21:47:15 -05:00
Martyn Taylor
4cb9cbbf59
extraTests version bump and RELEASING note
2015-12-21 09:48:14 +00:00
Martyn Taylor
90c9469701
[maven-release-plugin] prepare for next development iteration
2015-12-17 17:03:40 +00:00
Martyn Taylor
df61224d2d
[maven-release-plugin] prepare release 1.2.0
2015-12-17 17:01:58 +00:00
Martyn Taylor
0e8f2f39af
ARTEMIS-312 Allow configurable of, and inject of client global thread pools
2015-12-16 18:19:25 -05:00
Clebert Suconic
af1f79bff5
ARTEMIS-302 more changes around XA reliability (resilience on failures)
2015-12-16 10:19:35 -05:00
Andy Taylor
d1e154e888
ARTEMIS-311 - added broker name to jmx object name properties.
...
Its now possible to also add the broker name to jmx tree avoiding clashes when multiple brokers are in a single vm. This is now the default but the old way can be used with some configuration
https://issues.apache.org/jira/browse/ARTEMIS-311
2015-12-16 10:19:01 -05:00
Clebert Suconic
b1b4bb8a32
ARTEMIS-320 Refactoring TCP flow control and proper implementation of flow control on consumers
...
https://issues.apache.org/jira/browse/ARTEMIS-320
2015-12-10 16:50:26 -05:00
Clebert Suconic
351bcfc9f9
ARTEMIS-319 Improving files allocation and implementing journal-pool-files
...
https://issues.apache.org/jira/browse/ARTEMIS-319
2015-12-10 16:49:58 -05:00
jbertram
831eabfc73
ARTEMIS-303 listing subs fails for JMS2 shared sub
2015-12-08 15:11:53 -06:00
Ville Skyttä
6288f37064
Remove unused imports
2015-12-07 22:55:05 +02:00
Ville Skyttä
d0223af640
Remove unnecessary semicolons
2015-12-07 22:55:05 +02:00
Ville Skyttä
7bf3923cee
Remove unnecessary @SuppressWarnings("unchecked")
2015-12-07 22:55:05 +02:00
Ville Skyttä
96e99e4151
Convert mac linefeeds to unix
2015-12-07 22:55:05 +02:00
Ville Skyttä
f8a1c5ba8e
Remove redundant type arguments
2015-12-07 22:55:05 +02:00
Ville Skyttä
3b5ee6c7ea
Remove unnecessary casts
2015-12-07 22:53:42 +02:00
jbertram
ae22fa2a5d
ARTEMIS-314 test-case to exercise behavior
2015-12-07 13:39:53 -05:00
Ville Skyttä
25ae472455
Add missing @Override annotations
2015-12-06 01:27:35 +02:00
jbertram
956c54155f
ARTEMIS-201 warn of potential OOME
2015-11-23 21:42:15 -05:00
Erich Duda
5dab6b8ed9
ARTEMIS-307 JMSIndividualAckTest#testAckedMessageAreConsumed fails on slower machines
...
The issue is solved by increasing timeout in consumer.receive method.
2015-11-23 21:40:11 -05:00
jbertram
c0a6d6ee44
ARTEMIS-250 fix scale-down with security
2015-11-20 19:34:37 -06:00
Clebert Suconic
b1d5076108
ARTEMIS-302 - more work about improving resilience of MDBs and XA
2015-11-16 18:11:44 -05:00
jbertram
c40ab12843
ARTEMIS-300 deprecate basic security manager
...
The old property-file based security manager shouldn't be used anymore. Instead
use the JAAS InVMLoginModule for in-vm tests, embedded use-cases, etc. and use
the other JAAS login modules for normal server use-cases.
2015-11-11 14:17:46 -06:00
Clebert Suconic
f72c226aec
removing trace
2015-11-11 11:38:29 -05:00
Clebert Suconic
7bbd17cd37
ARTEMIS-302 - Improving XA Resilience
2015-11-11 09:50:58 -05:00
Clebert Suconic
a21a447b4c
ARTEMIS-301 - Fixing concurrent issues over closing consumer during failover and reconnect
2015-11-10 14:29:34 -05:00
Clebert Suconic
f0f886f53a
ARTEMIS-301 - Adding test replicating Consumer::cancel concurrency issue
2015-11-10 14:29:34 -05:00
Clebert Suconic
9a2bebe443
ARTEMIS-297 Including acceptor name on logs
2015-11-04 22:54:12 -05:00
jbertram
0c407922a8
ARTEMIS-261 cert-based auth
2015-11-04 15:56:33 -05:00
jbertram
3f6089891d
ARTEMIS-293 rebalance inflow on topology change
2015-11-03 16:42:15 -06:00
Ville Skyttä
68c9f3fd69
Spelling fixes
2015-11-03 10:30:40 -05:00
Andy Taylor
b73e61ac52
ARTEMIS-292 - fix isSameHost on TransportConfiguration
...
Ive renamed the current isSameHost method to isSameparams as thats what it checked and added a new method for isSameHost that checks the appropriate params for the connector. Ive changed ClientSessionFactoryImp to use this to correct the behaviour.
https://issues.apache.org/jira/browse/ARTEMIS-292
2015-11-03 10:29:31 -05:00
Clebert Suconic
017bf8d85a
ARTEMIS-291 fix tests
2015-11-02 13:15:13 -05:00
Martyn Taylor
62262805ab
ARTEMIS-291 Allow multiple acceptors with same host/port
2015-11-02 12:42:49 +00:00
Erich Duda
effe95c0ba
ARTEMIS-290 PageCountSyncOnNonTXTest.testSendNoTx: fails on slower machines
2015-10-30 09:37:32 +01:00
Erich Duda
0007772b13
ARTEMIS-287 [Artemis Testsuite] PagingTest#testDeleteQueueRestart fails on slower machines
2015-10-29 11:27:26 +01:00
jbertram
fe4dafedcb
ARTEMIS-168 - pluggable authorization
2015-10-27 10:12:22 -04:00
Andy Taylor
290cb65b17
ARTEMIS-281 - fix reference counting for jgroups channels
...
https://issues.apache.org/jira/browse/ARTEMIS-281
2015-10-27 10:10:52 +00:00
Clebert Suconic
992c34bc6a
Small tweak on test
2015-10-26 14:06:26 -04:00
Clebert Suconic
e35c4d5800
SessionCloseOnGCTest#testCloseOneSessionOnGC avoiding intermittent failure - small improvement
2015-10-26 12:04:03 -04:00
Clebert Suconic
bd946d2ce8
SessionCloseOnGCTest#testCloseOneSessionOnGC avoiding intermittent failure
2015-10-26 11:10:48 -04:00
Clebert Suconic
487d976760
ARTEMIS-277 IncompatibleVersionTest fails on slower machines
...
This closes #216
2015-10-26 10:49:49 -04:00
Howard Gao
02cedbf8da
ARTEMIS-276 JMSBridge should be TCCL aware
2015-10-23 10:25:28 -04:00
Andy Taylor
31f2389343
ARTEMIS-269 - sett restartBackup to true by default
...
https://issues.apache.org/jira/browse/ARTEMIS-269
2015-10-22 13:20:28 +01:00
Julian Scheid
aa7696e329
ARTEMIS-270 Supply RemotingConnection for authorization
2015-10-20 18:23:41 -04:00
jbertram
ef5a9809f2
ARTEMIS-256 orchestrate failback deterministically
...
The failback process needs to be deterministic rather than relying on various
incarnations of Thread.sleep() at crucial points. Important aspects of this
change include:
1) Make the initial replication synchronization process block at the very
last step and wait for a response from the replica to ensure the replica has
as the necessary data. This is a critical piece of knowledge during the
failback process because it allows the soon-to-become-backup server to know
for sure when it can shut itself down and allow the soon-to-become-live
server to take over. Also, introduce a new configuration element called
"initial-replication-sync-timeout" to conrol how long this blocking will occur.
2) Set the state of the server as 'LIVE' only after the server is fully
started. This is necessary because once the soon-to-be-backup server shuts
down it needs to know that the soon-to-be-live server has started fully before
it restarts itself as the new backup. If the soon-to-be-backup server restarts
before the soon-to-be-live is fully started then it won't actually become a
backup server but instead will become a live server which will break the
failback process.
3) Wait to receive the announcement of a backup server before failing-back.
2015-10-20 14:55:31 -04:00
Martyn Taylor
3e6f229436
ARTEMIS-262 Check connection status change before callbacks
2015-10-20 10:41:00 +01:00
Andy Taylor
98c2aa433f
ARTEMIS-262 Fix Bridge OOM exception
...
Netty 4.x uses pooled buffers. These buffers can run out of memory when
transferring large amounts of data over connection. This was causing an
OutOfMemory exception to be thrown on the CoreBridge when tranferring
large messages. Netty provides a callback handler to notify listeners
when a Connection is writable. This patch adds the ability to register
connection writable listeners to the Netty connection and registers the
relevant callback from the Bridge to avoid writing when the buffers are
full.
2015-10-19 10:32:59 +01:00
Clebert Suconic
360338a362
NO-JIRA making sure there wouldn't be duplicates out of transaction timeout
2015-10-17 00:26:44 -04:00
Erich Duda
2dc317a571
ARTEMIS-259 ClientCrashTest: tests fail on slower machines
2015-10-14 13:23:27 +02:00
Clebert Suconic
6bf1241628
ARTEMIS-257 cleaning up dependencies on artemis-core-client
2015-10-13 10:44:49 -04:00
Clebert Suconic
a5fab2754d
ARTEMIS-252 fixing tests
2015-10-12 17:21:36 -04:00
Clebert Suconic
2a81a5f146
ARTEMIS-252 retryMessages retrying to topic subscriptions + some ammends to #193
2015-10-12 17:03:53 -04:00
Petter Nordlander
989172596e
ARTEMIS-252 Added support to retry messages via JMX on JMS Queue interface
2015-10-12 17:03:42 -04:00
Petter Nordlander
7afe87996b
ARTEMIS-252 added jmx operations to retry messages
2015-10-12 17:03:42 -04:00
jbertram
6ed9c5ae91
ARTEMIS-74 import JAAS auth from 5.x
...
This change allows the use of JAAS login modules for basic authentication
and authorization.
2015-10-09 11:42:22 -05:00
Clebert Suconic
206acdac7d
ARTEMIS-238 and ARTEMIS-236 Fixing Legacy protocol support
2015-10-08 20:32:43 -04:00
jbertram
b8e235f77e
Clarify HTTP(S) upgrade config
...
Demonstrate that the Artemis acceptor receiving HTTP(S) upgrade connections
doesn't need any SSL configuration.
2015-10-05 08:38:22 -05:00
Julian Scheid
7fb30547f4
Add tests for ARTEMIS-230
2015-09-28 20:09:25 +02:00
Clebert Suconic
f0fd89f24f
Small tweak on test: Using Parameterized instead of exension
2015-09-25 14:47:49 -04:00
Julian Scheid
f64c435727
ARTEMIS-228 accept binary WebSocket frames
2015-09-25 14:37:21 -04:00
Julian Scheid
6890f126cb
ARTEMIS-229 validate user and role with address
2015-09-25 15:58:15 +02:00
Julian Scheid
2d679e9071
Add test case for ARTEMIS-231
...
The test doesn't actually fail, but the test output shows the problem.
2015-09-24 21:30:31 -04:00
Clebert Suconic
7a337a7e55
Revert "ARTEMIS-225 validate clientID is set for durable sub"
...
This reverts commit 1c933cfbae
.
2015-09-21 20:39:07 -04:00
jbertram
1c933cfbae
ARTEMIS-225 validate clientID is set for durable sub
2015-09-17 15:46:18 -05:00
Martyn Taylor
bb2c890803
[maven-release-plugin] prepare for next development iteration
2015-09-15 15:43:44 +01:00
Martyn Taylor
63ea448728
[maven-release-plugin] prepare release 1.1.0
2015-09-15 15:41:37 +01:00
jbertram
2eac97aaff
ARTEMIS-210 count references
...
It is possible for the closure of one resource to potentially impact
another since they are now sharing the same ServerLocator instance.
Keep track of references to avoid this.
2015-09-14 15:35:12 -05:00
Howard Gao
0abf52468b
ARTEMIS-200 Message Compression Support
2015-09-14 09:56:19 +08:00
Martyn Taylor
6408fd0357
[maven-release-plugin] prepare for next development iteration
2015-09-11 19:01:57 +01:00
Martyn Taylor
c512f12a34
[maven-release-plugin] prepare release 1.1.0
2015-09-11 19:01:19 +01:00
Clebert Suconic
1add10abfd
ARTEMIS-223 Testcase replicating issue
2015-09-11 13:21:50 -04:00
Clebert Suconic
490662923c
fixing checkstyle on example
2015-09-11 10:16:34 -04:00
Clebert Suconic
f5a727259e
ARTEMIS-222 fixing a deadlock that appeared on the testsuite (MultipleThreadsOpeningTest)
...
https://issues.apache.org/jira/browse/ARTEMIS-222
2015-09-11 09:07:49 -04:00
Clebert Suconic
d5a01287a5
Improving test.
...
There's a race here that only happens on Virtual Machines (VMWare.. etc)
2015-09-11 09:06:38 -04:00
Clebert Suconic
e7e1e0c6eb
Removing a non open wire test
...
-- this test is only validating AMQP <-> MQTT converstion through ActiveMQ5. No value for OpenWire tests
2015-09-11 09:06:00 -04:00
Clebert Suconic
7b2c50415a
using new qpid-jms client on AMQP
2015-09-11 09:06:00 -04:00
Martyn Taylor
fec6546480
[maven-release-plugin] prepare for next development iteration
2015-09-08 16:39:59 +01:00
Martyn Taylor
4d0b15b043
[maven-release-plugin] prepare release 1.1.0
2015-09-08 16:29:09 +01:00
Martyn Taylor
82f6a88d59
[maven-release-plugin] prepare for next development iteration
2015-09-07 10:02:01 +01:00
Martyn Taylor
8c1e0e15fc
[maven-release-plugin] prepare release 1.1.0
2015-09-07 10:01:10 +01:00
Clebert Suconic
79a7ee5a3f
fixing version and adding missing projects on release profile
2015-09-04 23:41:23 -04:00
Martyn Taylor
a2aa18c123
[maven-release-plugin] prepare for next development iteration
2015-09-04 20:20:13 +01:00
Martyn Taylor
a5decb659e
[maven-release-plugin] prepare release 1.1.0
2015-09-04 20:19:11 +01:00
Martyn Taylor
4576ccea08
[maven-release-plugin] prepare for next development iteration
2015-09-04 19:48:52 +01:00
Clebert Suconic
90d05bb17d
Improving openwire tests on the integration-testsuite
...
In one situation I have seen a failrue on ProducerFlowControl to break everything else from here
This change will both avoid the failure and change the report of leaked threads so we can find them easily on the system.out when it happens (for future debugging)
2015-09-03 19:16:19 -04:00
Clebert Suconic
ab618d295d
binding UDP to localhost so the testsuite will work on environments where UDP is not available due to firewal constraints
...
The server would need to have loopback routes for UDP for this to work.
2015-09-03 18:06:10 -04:00
jbertram
ea9609c579
ARTEMIS-211 Memory leak using wildcard topic
2015-09-02 15:47:00 -05:00
Clebert Suconic
0f8750573c
test fix on DuplicateCacheTest
...
Waiting for proper executor to finish
2015-08-31 19:49:01 -04:00
jbertram
853d3665df
ARTEMIS-206 HTTP Upgrade does not work over HTTPS
2015-08-31 14:30:25 -05:00
Howard Gao
1642a856c3
Fix thread leak in test TransactionContextTest
...
This leak happens with amq5.12.0. It didn't happen
with amq5.11.1. Adding connection.start() can work
around this seemingly 5.12.0 issue.
2015-09-01 00:17:36 +08:00
Howard Gao
be9959e0bc
ARTEMIS-191 Refactor RemoveDestinationTest
...
-Using core api to inspect queue status
-Catch command visit() exceptions in order to
pass it back to client.
-Correct destination add/remove handlings
2015-08-28 20:33:38 +08:00
Andy Taylor
2f18b4cbfc
ARTEMIS-193 - OpenWire protocol only works with messages received over openwire
...
Fix the address conversion between protocols so its consistent
https://issues.apache.org/jira/browse/ARTEMIS-193
2015-08-27 10:23:38 +01:00
Howard Gao
99db9f1cbd
Exclude 2 activemq5 openwire tests that purely test on client side
2015-08-26 19:54:19 +08:00
Clebert Suconic
2b45d6eb9e
Adding simple test sending core & consuming OpenWire
2015-08-25 08:31:24 -04:00
Howard Gao
34e127cc0c
ARTEMIS-208 BrokerInfo issue, also:
...
enlarged the default max size for tests to avoid send blocking.
2015-08-24 22:54:12 -04:00
jbertram
7a1199c475
ARTEMIS-210 outbound RA connection load-balancing
...
Inbound sessions are always created from the same ActiveMQConnectionFactory
which means the load-balancing policy is applied to them in the expected
manner. However, outbound sessions are created from independent, unique
ActiveMQConnectionFactory instances which means that the load-balancing
doesn't follow the expected pattern.
This commit changes this behavior by caching each unique
ActiveMQConnectionFactory instance and using it for both inbound and outbound
sessions potentially. This ensures the sessions are load-balanced as
expected.
2015-08-24 18:24:04 -05:00
Ville Skyttä
eb407389a6
Update maven-checkstyle-plugin to version 2.16
2015-08-16 15:26:15 +03:00
jbertram
976174305e
ARTEMIS-209 fix keepAlive
2015-08-14 16:20:10 -05:00
jbertram
cbebbc43fd
Fix ReplicatedLargeMessageWithDelayFailoverTest
2015-08-14 16:20:06 -05:00
Clebert Suconic
030f2fc59a
Revert "ARTEMIS-187 hold lock between live server and tools"
...
This reverts commit f0f4f1684d
.
Sorry about this.. I will rework this and send a commit again
2015-08-14 01:02:39 -04:00
Clebert Suconic
f0f4f1684d
ARTEMIS-187 hold lock between live server and tools
...
This should avoid users damaging data while the server is running (by for instance running compact while the server is running)
https://issues.apache.org/jira/browse/ARTEMIS-187
2015-08-13 23:57:49 -04:00
Clebert Suconic
1dae99746b
ARTEMIS-204 Improvements on OpenWire
...
https://issues.apache.org/jira/browse/ARTEMIS-204
by consequence this will also fix any possible issues with AMQP
2015-08-13 20:39:01 -04:00
Howard Gao
53d5f93e4a
Openwire test fix:
...
Added missing resource file
Added accessor methods to let the test pass
2015-08-12 21:22:57 +08:00
Martyn Taylor
90940091d3
Downgrade Paho SNAPSHOT dep to latest release
2015-08-12 11:59:12 +01:00
jbertram
4fa701eaff
Fix HAClientTopologyWithDiscoveryTest
2015-08-11 15:23:06 -05:00
jbertram
f6061d0d53
Fix ReplicatedMultipleServerFailoverExtraBackupsTest
2015-08-11 14:06:58 -05:00
Howard Gao
bb1e03c079
Openwire test fix:
...
Fixed issues with TcpTransportBrokerTest
removed one irrelevant test
Not all tests in it are passing however that'll
fix 125 of total 128 tests.
2015-08-11 11:23:08 -04:00
jbertram
38188cdf2e
ARTEMIS-179 fix BindingsClusterTest
2015-08-10 16:19:01 -05:00
jbertram
f3be78a096
ARTEMIS-179 Expose disconnect/reconnect problem
...
Currently a cluster bridge will continue to attempt to reconnect to
a node that sends it a DISCONNECT until its reconnect-attempts is
exhausted. A DISCONNECT message indicates that the node is not coming
back so no reconnect attempt should be made and the bridge should be
stopped, the bindings should be cleaned up, etc.
The change to this test exposes this problem.
2015-08-10 10:20:01 -05:00
Clebert Suconic
5ac2c2444b
manual checkstyle changes
2015-08-10 10:08:23 -04:00
Clebert Suconic
bac96047f5
automatic checkstyle change
...
this is just calling Idea format on all the files using the new style
I am separating manual changes from automatic changes in case I have to repeat the manual changes again
2015-08-10 09:26:42 -04:00
Howard Gao
125bfd34e7
Fix openwire IsStillMarshallsTheSameTest
...
Added missing resource files.
2015-08-10 09:14:44 -04:00
Howard Gao
85989fb509
Fix openwire test: ExpiryHogTest
...
Removed code irrelevant to Artemis broker
2015-08-10 09:14:44 -04:00
Howard Gao
5230237a7c
Fix openwire tests - ProducerFlowControlSendFailTest
2015-08-10 09:12:27 -04:00
Clebert Suconic
138bfe9682
Removing 'created by' comments
2015-08-07 15:17:24 -04:00
Clebert Suconic
2ad821a0ca
small improvement on org.apache.activemq.JmsQueueCompositeSendReceiveTest
2015-08-05 09:32:09 -04:00
Howard Gao
896813fc1c
Fix org.apache.activemq.JmsQueueCompositeSendReceiveTest#testDuplicate
...
This test uses activemq5 native API to examine queue message count
The fix uses core's QueueQuery API to do the job instead.
2015-08-05 09:24:22 -04:00
Clebert Suconic
517e076620
fixing tests
...
The refactoring on native left a few name changes and a small twek that I needed to make on buffers
2015-08-03 23:39:35 -04:00
Clebert Suconic
7cfc33790d
ARTEMIS-162 Fix non serializable JGroups on Configuration clone used on Colocated support
...
https://issues.apache.org/jira/browse/ARTEMIS-162
2015-08-03 23:39:35 -04:00
Howard Gao
65e9ec01b8
Fix openwire unit tests
...
Fix JmsRedeliveredTest and add processing of RemoveSubscriptionInfo command
2015-08-03 08:56:27 -04:00
jbertram
fe95e34390
Ensure MQTT tests clean up SSL properties
2015-08-03 08:24:28 -04:00
jbertram
ecc2cecf87
Fix NPE in management test
2015-08-03 08:24:28 -04:00
Andy Taylor
38147ddbe7
added check to stop broker
2015-08-03 08:53:39 +01:00
Howard Gao
447f33d19f
Fix compilation error
2015-07-30 19:57:40 +08:00
Howard Gao
2866ecd4c2
Include just a few packages in activemq5-unit-tests to start with
2015-07-30 18:40:18 +08:00
Clebert Suconic
6fe9e0ebd6
ARTEMIS-163 First pass on the native AIO refactoring
...
https://issues.apache.org/jira/browse/ARTEMIS-163
On this pass I'm just converting the native layer to a simpler one.
It wasn't very easy to change the alignment at the current framework,
so I did some refactoring simplifying the native layer
The volume of the nubmer of changes here is because:
- The API is changed, we now don't close the libaio queue between files
- The native layer won't use malloc as much as it used to, saving some CPU and memory defragmentation
- I organized the code around nio and libaio
2015-07-29 22:12:03 -04:00
Clebert Suconic
d5dde68f0c
ARTEMIS-157 fixing isHA on connectionFactory
2015-07-22 17:46:04 +01:00
Ville Skyttä
2a647c176f
Declare ConcurrentMaps instead of ConcurrentHashMaps
...
See PR #88 for discussion.
2015-07-22 16:16:57 +03:00
Ville Skyttä
d6f8ed8d70
Deprecate PROTOCOL_PROP_NAME, avoid deprecation warning on STOMP tests
2015-07-22 11:54:18 +01:00
Howard Gao
74600b2a53
openwire tests: Fix some NPEs and Index out of boundary errors
2015-07-16 09:16:25 +08:00
Howard Gao
779092f48f
fix empty keystore files
...
fix Collections.EMPTY_MAP doesn't support put() method issue
2015-07-14 20:07:00 +08:00
Howard Gao
fbdf9cd04c
Activemq5 unit test fixes
...
--Fix server wrapper startup/shutdown issues that mainly causes
a lot of "Address already in use" in tests.
2015-07-13 09:39:52 -04:00
Ville Skyttä
78cb156ef9
Spelling fixes
2015-07-13 09:38:00 -04:00
Howard Gao
19a49f5297
Fix javadoc errors in tests/activemq5-unit-tests
2015-07-10 10:02:38 +08:00
Howard Gao
8d1f4fa32a
fix javadoc warnings
2015-07-09 10:41:50 -04:00
Ville Skyttä
b0a80ce1be
Spelling fixes
2015-07-09 10:41:03 -04:00
Howard Gao
7cf58b1e88
ARTEMIS-149 Advisory Message Support
...
Adding functions to send advisory messages.
2015-07-09 10:23:24 -04:00
Martyn Taylor
0f82ca754b
Added Initial MQTT Protocol Support
2015-07-09 11:08:04 +01:00
gaohoward
f59b10cea2
Fix activemq-unit-test failure
...
-- added addConnector() method so new connector can be created for tests
-- fix zero-byte key store files that cause test failures
-- fix a invm issue in test
2015-07-09 09:18:42 +08:00
Martyn Taylor
19dc0594e5
Set default password properly in security manager
...
The current Security Manager implementation was returning the username
instead of the default password when validating the default user.
This patch returns the correct value and cleans up the validate method.
2015-07-08 16:25:11 +01:00
Howard Gao
5e1758cb87
ARTEMIS-146 Fix Queue auto-creation
2015-06-30 10:03:43 +08:00
Clebert Suconic
aa4a06329f
[ARTEMIS-144] adding Browse and a few other improvements
2015-06-25 15:02:05 -04:00
jbertram
7c066c0ee4
ARTEMIS-105 forceFailover always throws exception
2015-06-24 09:47:13 -05:00
Clebert Suconic
91a41adaa8
Removing extra-tests from running tests on PR builds
2015-06-23 23:43:44 -04:00
Clebert Suconic
077a416ee0
Improving up time of some tests
2015-06-23 16:35:44 -04:00
Clebert Suconic
1492fe7adc
speeding up test
2015-06-23 12:42:59 -04:00
Clebert Suconic
f401a67ffe
ARTEMIS-136 extending XA change to also cover RBOTHER
2015-06-23 10:08:23 -04:00
Clebert Suconic
e690da96a6
simple test fix
2015-06-22 20:49:27 -04:00
Clebert Suconic
e3aa94e394
ARTEMIS-142 Fix on import / export tests
2015-06-22 19:32:29 -04:00
jbertram
494477b240
ARTEMIS-142 ActiveMQClusteredTest fix
2015-06-22 09:49:54 -05:00
Clebert Suconic
ff6cd8d18f
Fixing test that was using reflection by exposing a few properties on the RemotingServiceImpl
2015-06-22 09:46:15 -04:00
jbertram
aa5ff90807
ARTEMIS-141 Move classloading into ServiceRegistry
2015-06-22 09:04:24 -04:00
Clebert Suconic
4388923527
ARTEMIS-139 data.folder related to artemis
...
https://issues.apache.org/jira/browse/ARTEMIS-139
I'm using the constructors on File(parent, filename) now with the home directory
2015-06-17 14:10:54 -04:00
Clebert Suconic
07f9fe4e7b
[ARTEMIS-138] list will return empty list now on non existent folders
...
https://issues.apache.org/jira/browse/ARTEMIS-138
The list method should return an empty list in case of non existent folders,
So this would unveil whatever is the cause for non existent folders at the next level where it's happening
2015-06-16 14:38:53 -04:00
jbertram
adb9ccd013
[ARTEMIS-92] Transformer instance injection
2015-06-16 13:24:35 -05:00
Clebert Suconic
51c34c87d2
ARTEMIS-136 - XA Error fix with proper exception error
...
https://issues.apache.org/jira/browse/ARTEMIS-136
From what I researched from implementers of XA TM if you throw ERR over communication errors the transaction manager will create
an heuristic transaction to be manually dealt with.
Other XA Implementations (such as Oracle JDBC) are return FAIL over communication failures during any XA operation.
2015-06-15 16:34:55 -04:00
John D. Ament
3710b3aa3c
ARTEMIS-103 Changed JGroupsBroadcastEndpoint to not close its JChannel since its externally managed. Added javadocs to impacted areas to clarify that the JChannel is not closed by these implementations.
2015-06-14 19:59:28 -04:00
Thiago Kronig
4dd54080a1
ARTEMIS-127 Fix Array.toString(), nonatomic update on volatiles
2015-06-12 01:27:54 -03:00
Thiago Kronig
ae6a2b87ea
ARTEMIS-127 Fix some concurrency idioms for ActimeMQ Tests
2015-06-12 00:30:23 -03:00
Thiago Kronig
64ecb9565d
ARTEMIS-127 Use L as suffix for long constants
2015-06-11 23:58:14 -03:00
Thiago Kronig
aab34e5bd0
ARTEMIS-127 Fixing sync on non-final object for ArtemisBrokerWrapper
2015-06-11 23:58:13 -03:00
Thiago Kronig
61895223d0
ARTEMIS-127 Fixing activemq-unit-tests pom version
2015-06-11 23:58:12 -03:00
jbertram
cb4d2e046e
ARTEMIS-109 restore optional divert routing name
2015-06-11 16:28:06 -05:00
John D. Ament
8aa598f594
ARTEMIS-91 Separated out interface for ServiceRegistry. Provided a getter in the ActiveMQServer interface.
2015-06-10 22:48:48 -04:00
Tomas Hofman
72354ee38f
ARTEMIS-135 - Fix on journal load
...
https://issues.apache.org/jira/browse/ARTEMIS-135
This is importing a recent fix from the journal on the old version.
If a crash happened between the create file and the fill of the file the
file wouldn't be loaded and the server wouldn't start until you removed the offending file
2015-06-10 20:29:45 -04:00
Clebert Suconic
309ce4324c
Fixing javadoc and removing the -Xdoclint option from the pom.xml
...
Also, since JDK 1.8 is no longer required I'm downgrading the JDK to 1.7 minimal.
We can review that back to 1.8 when we really need 1.8 features.
2015-06-09 22:13:11 -04:00
Howard Gao
60979268e1
ARTEMIS-127 Adding activemq unit test module to Artemis
...
This test module brings in activemq unit tests and run them
against Artemis broker.
2015-06-09 12:35:56 -04:00
Clebert Suconic
cd205f6b9d
ARTEMIS-130 and ARTEMIS-132 connection-factory constructors / Adding inVM serialization
...
https://issues.apache.org/jira/browse/ARTEMIS-130 connection-factory constructors
https://issues.apache.org/jira/browse/ARTEMIS-132 adding vm as an URL on connection factory serialization
Adding new constructors into connection factory
This will make examples easier to understand, less stuff to be written before instantiating connection factories
2015-06-04 12:17:05 -04:00
jbertram
20326d0d83
ARTEMIS-19 allow disabling of message load-balancing
2015-06-03 16:21:43 -05:00
Thiago Kronig
d48b4f4770
ARTEMIS-129 License header should be a normal comment
...
To reproduce this commit, apply a replace regex rule using:
search regex: /\*\*\n \* Licensed
replace: /\*\n \* Licensed
These files had to be changed manually:
artemis-selector/src/main/javacc/HyphenatedParser.jj
artemis-selector/src/main/javacc/StrictParser.jj
artemis-website/src/main/resources/styles/impact/css/pygmentize.css
artemis-website/src/main/resources/styles/impact/css/site.css
2015-06-03 10:19:45 -04:00
Clebert Suconic
a6b8a09b65
Cleanup issues reported by error prone
...
We had a few reported small issues on the codebase from the recent introduced google error prone.
This should eliminate any issues, and I am making sure these won't happen again
2015-05-28 23:49:59 -04:00
jbertram
666b6ae03b
Update hacking guide; add example tests
2015-05-28 12:20:35 -05:00
mnovak
0cd7874f83
ARTEMIS-125 Shared backup server with disabled scale down policy does not activate itself.
...
If standalone backup server with shared has defined scale-down policy
but it's disabled then backup does not activate. Problem is that
server is checking only whether scale down is defined but if it's
enabled. This causes that server.stop() is called and backup does
not activate.
2015-05-28 11:34:10 -04:00
jbertram
328611fdc9
More test-suite refactoring
...
Lots of work on the test-suite in this commit including:
- Rename ServiceTestBase to ActiveMQTestBase
- Make AddressSettings fluent
- Remove unnecessary tearDown() implementations
- Use ActiveMQTestBase.create*Locator() instead of
ActiveMQClient.createServerLocator*(..)
- Use fluent ServerLocator methods
- Make sure all ActiveMQServers.newActiveMQServer invocations
are surrounded with addServer() where appropriate
- Create a few example tests to be references from hacking-guide
- Update hacking-guide with more info on writing tests
- Refactor config creation methods in ActiveMQTestBase
2015-05-28 08:49:02 -05:00
Thiago Kronig
7ca05753bf
Fix integration-tests: Arrays.toString(..) and ignored AssertionError
2015-05-21 19:45:01 -04:00
Thiago Kronig
27dd5c2652
Log Arrays.toString(nodes) at ClusterTestBase
2015-05-21 19:45:01 -04:00
Thiago Kronig
71ea52bd06
Remove ignored line in JoramTests
2015-05-21 19:45:01 -04:00
Martyn Taylor
22d54c5830
[maven-release-plugin] prepare for next development iteration
2015-05-21 13:47:45 +01:00
Martyn Taylor
3435d5948f
[maven-release-plugin] prepare release 1.0.0
2015-05-21 13:43:56 +01:00
Martyn Taylor
97210427df
[maven-release-plugin] prepare for next development iteration
2015-05-20 11:26:38 +01:00
Martyn Taylor
3fb3799f91
[maven-release-plugin] prepare release 1.0.0
2015-05-20 11:17:31 +01:00
Andy Taylor
e2e73ffa07
merge PR #272 - Open wire protocol fixes
2015-05-20 11:00:42 +01:00
Martyn Taylor
f14b3353f4
Support reconnect on OpenWire failover transport
2015-05-20 10:40:50 +01:00
jbertram
99147d0713
Refactor base test classes
...
This has bothered me for awhile, but writing the hacking guide has
given me an opportunity to refactor some of our test-suite to be
simpler, more consistent, and easier to understand. This is
important if we want users to provide well-written tests. Our
test-suite is an important part of the code-base and it should be
easy to write good tests.
Basically I just consolidated CoreUnitTestCase, UnitTestCase, and
ServiceTestBase into a single class named ServiceTestBase. I also
simplified some of the configuration creation methods to reduce
duplicated code.
2015-05-19 15:27:13 -05:00
jbertram
63f7837a4d
Remove unnecessary check
...
When this test is run from QueueControlUsingCoreTest the connection
count check will fail because of the request/reply semantics of the
test itself.
2015-05-19 12:48:46 -05:00
jbertram
d24f2eb10f
Ensure tests use proper directory
2015-05-19 11:31:11 -05:00
Martyn Taylor
c30a8fe899
Add back extra test changes accidently removed during rebase
2015-05-19 16:00:34 +01:00
Thiago Kronig
351b1cba5d
Ignores %PATH/java, use $JAVA_HOME/bin/java instead
...
Deduce `java` executable from current "java.home" property to spawn
processes for test purposes.
2015-05-18 19:00:29 -04:00
jbertram
8561d60f54
ACTIVEMQ6-110 getDeliveringMessages() broken
2015-05-18 13:57:41 -05:00
Martyn Taylor
73c5f2e342
[maven-release-plugin] prepare for next development iteration
2015-05-13 15:24:55 +01:00
Martyn Taylor
bfc9d8f72d
[maven-release-plugin] prepare release 1.0.0
2015-05-13 15:24:16 +01:00
Martyn Taylor
a17c828b85
Ensure all references to the project use ActiveMQ Artemis
2015-05-13 11:51:26 +01:00
Clebert Suconic
071d8c6ce2
next iteration on extra-tests
2015-05-12 11:14:12 -04:00
Martyn Taylor
1013e7f1dd
[maven-release-plugin] prepare for next development iteration
2015-05-12 13:51:35 +01:00
Martyn Taylor
d6466b7a1b
[maven-release-plugin] prepare release 1.0.0
2015-05-12 13:50:56 +01:00
Martyn Taylor
3e34044d2b
[maven-release-plugin] prepare for next development iteration
2015-05-11 21:50:41 +01:00
Martyn Taylor
d2de238a30
[maven-release-plugin] prepare release 1.0.0
2015-05-11 21:48:17 +01:00
jbertram
2cbeedab89
Clean up 'ActiveMQ' refs in literals
2015-05-11 11:23:35 -05:00
Martyn Taylor
77efc950af
ACTIVEMQ6-100 Add support for HornetQ clients
2015-05-07 14:59:46 -04:00
jbertram
96a0fe8f53
Use target directory for test data
2015-05-06 15:37:46 -05:00
jbertram
8cea209a8b
Set Arjuna properties
2015-05-06 15:37:46 -05:00
jbertram
7377672fa3
Enable extra tests in 'extra-tests' profile
2015-05-06 15:37:45 -05:00
jbertram
4735d38d7b
Update surefire plugin versions
2015-05-06 15:05:49 -05:00
jbertram
f509ce7519
ACTIVEMQ6-70 broker resource limits
...
Implements basic limits on the number of connections and number of
queues a particular user can create to/on the broker.
2015-05-04 20:37:20 -05:00
jbertram
3eb835a8ab
ACTIVEMQ6-96 acceptor limit
...
Adds a configuration property on both in-vm and Netty acceptors
whereby the number of connections allowed is configurable.
2015-05-04 16:07:27 -05:00
Clebert Suconic
ea3370b38c
Moving artemis-tools to artemis-cli and improving the tooling
...
Artemis tools is now part of the cli
Bootstrap was renamed to CLI
2015-05-03 12:42:19 -04:00
jbertram
791cc5c50c
More rename updates
2015-04-30 09:07:20 -05:00
Andy Taylor
24a4c63458
renamed schemas
2015-04-29 10:49:43 +01:00
Andy Taylor
ac5bb8fd6c
renamed config to broker.xml
2015-04-29 10:30:32 +01:00
Clebert Suconic
70a6e43075
Fixing byteman tests after the rename
2015-04-28 10:39:05 -05:00
jbertram
9a6ae57d45
Casting issue with management op over core
2015-04-27 18:30:01 -04:00
Justin Bertram
8f52a622d0
ACTIVEMQ6-1 Artemis rename
...
Based on the Apache ActiveMQ community vote this project is being
renamed "Artemis."
2015-04-27 17:48:02 -04:00
Clebert Suconic
f509c075c6
ACTIVEMQ6-1 Artemis rename
...
This commit is a simple mv of the files.. We required two commits to preserve history,
one to git mv, one for the actual changes...
otherwise history would be lost
Based on the Apache ActiveMQ community vote this project is being
renamed "Artemis."
2015-04-27 17:44:45 -04:00
Martyn Taylor
11e1b850c9
Renamed ActiveMQ6 to ActiveMQ Artemis
2015-04-24 14:07:31 +01:00
Clebert Suconic
ada112a6a3
ACTIVEMQ6-94: Using proper flow control on very large messages over the bridge
...
This will remove some of the verifications written by Howard on his commit.
I did this to simplify the flow control
This closes #197
2015-04-23 15:48:20 -04:00
Howard Gao
c1111cc156
ACTIVEMQ6-94: HornetQ Bridge does not handle large messages
...
When sending a large message that exceeds the size of
Integer.MAX_VALUE, the bridge will get negative chunk size during
fowarding. And the resend cache is not limited so there is a
potential that it may get OutOfMemory exception.
2015-04-23 15:02:01 -04:00
Clebert Suconic
147a5528e4
changing iterations on test so it runs faster
2015-04-23 15:02:01 -04:00
Daniel Pocock
00837c120d
Management Methods for first message timestamp
2015-04-22 17:01:39 -05:00
Clebert Suconic
81a7613b38
ACTIVEMQ6-97 - fixing a left-over from the renaming
2015-04-21 21:54:10 -04:00
Clebert Suconic
95b6328993
Queue Auto-create fixes on OpenWire
...
this is basically addressing a performance issue on OpenWire, setting the auto-create to the PostOffice
after not being able to route
The core protocol stays the same in regard to the auto-create since the exceptions are happening after the queueQuery
2015-04-21 18:00:07 -04:00
Jeff Genender
188e3b76bd
ACTIVEMQ6-97 - Change HQ to AMQ for properties/headers/doc. Remove as much HQ as possible and change to AMQ to make this close to the ActiveMQ project.
2015-04-21 12:26:44 -04:00
Clebert Suconic
44bfe26f3c
using temporary folders under ./target
...
Sometimes /tmp doesn't support ext4 (tmpfs) and there's always a risk of leaving unnatended files in cases of crashed.
This is in alignment with how other tests run at apache
2015-04-09 22:03:03 -04:00
Clebert Suconic
abeb0bf3c2
Improving test timing
...
HangConsumerTest was hanging for 20 seconds for no real reason. this change will improve the timing on the test
2015-04-09 15:05:19 -04:00
Clebert Suconic
2154c754c8
Fixing a NPE case after Duplciate detection
...
If a Transaction wasn't created, the case for duplciate Detection would cancel a transaction that never happened
and it would get a NPE instead of a TX Exception.
It wasn't a big deal as the client got an exception anyways and the users were able to cancel in that case
but the message sent was a string containing just "Null".
this will fix it with a proper handling
2015-04-09 15:03:47 -04:00
Martyn Taylor
548735f8b6
Add Auto JMS queue creation for OpenWire
2015-04-09 17:59:15 +01:00
Clebert Suconic
c38acee509
fixing extra-tests dependency
2015-04-01 16:16:13 -04:00
Clebert Suconic
dea60ed3b6
ACTIVEMQ6-95 Large Message doesn't work on clustering & null Persistence
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-95
The message.copy is broken when you set persistence=false, and the bridge will use that method before forwarding the message
this commit is fixing NullStorageLargeServerMessage.copy and adding the proper testcase to validate the fix
2015-03-31 12:33:22 -04:00
Claus Ibsen
dee060bb5d
Polish and renamed hornetmq to activemq-6
2015-03-31 11:48:56 -04:00
Clebert Suconic
2f819a63e7
Improving a test that failed due to what seemed a race
2015-03-31 11:23:06 -04:00
Clebert Suconic
519a47f023
ACTIVEMQ6-89 Refactored stomp support contributed
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-89
I have done a lot of refactoring on this. So we can a different version of the interceptor for each protocol based on a base class now.
Just an abstract class over Stomp would be a bit hacky... this is a better approach.
2015-03-31 11:23:05 -04:00
nberdikov
b2524b1be4
ACTIVEMQ6-89 Added possibility to intercept stomp frames
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-89
This was originally contributed at #182 . We have squashed the commits and rebased them here
This closes #182
2015-03-31 11:23:05 -04:00
Martyn Taylor
9da0a37b89
[maven-release-plugin] prepare for next development iteration
2015-03-27 15:38:13 +00:00
Martyn Taylor
2d9e3128c9
[maven-release-plugin] prepare release 10.0.0-M1
2015-03-27 15:21:10 +00:00
Martyn Taylor
babdc21b24
[maven-release-plugin] prepare for next development iteration
2015-03-24 15:21:20 +00:00
Martyn Taylor
db40d55a86
[maven-release-plugin] prepare release 6.0.0-M1
2015-03-24 15:12:28 +00:00
Martyn Taylor
7c206231ee
[maven-release-plugin] prepare for next development iteration
2015-03-16 17:42:39 +00:00
Martyn Taylor
ee49ca2a0d
[maven-release-plugin] prepare release 6.0.0
2015-03-16 17:41:49 +00:00
Martyn Taylor
ab1c585ace
[maven-release-plugin] prepare for next development iteration
2015-03-12 19:11:44 +00:00
Martyn Taylor
ee57649f83
[maven-release-plugin] prepare release 6.0.0
2015-03-12 19:10:21 +00:00
Martyn Taylor
f3d7edd6b4
[maven-release-plugin] prepare for next development iteration
2015-03-12 19:00:39 +00:00
Martyn Taylor
a97178abaf
[maven-release-plugin] prepare release 6.0.0
2015-03-12 19:00:02 +00:00
Clebert Suconic
e065d25b6f
A few changes around logging-processor
...
- Bumped up version to 2.0.0.Alpha
- Client bundle changes to be copmatible with 2.0.0
- Fixing bundle / Logging classes for missing format (it was an issue with the previous one already)
- Fixed up dependencies to avoid transient downloads
2015-03-12 10:49:17 +00:00
Clebert Suconic
d36a1d74af
Fixing test dependencies
...
- removing unused methods
- moving JMSXdeliveryCountTest to /extra-tests
- A few transactions methods that were not being used and creating issues to the release
due to an old dependency to the TM
This closes #173
2015-03-12 10:49:17 +00:00
Martyn Taylor
77921956c5
Send error on create producer when no dest exists
...
Returns an error to the client causing InvalidDestinationException to be
thrown when an ActiveMQ 5.x client attempts to create a producer with a
destination that does not exist. (Over OpenWire Protocol).
2015-03-12 10:49:17 +00:00
Martyn Taylor
7c3e5d1c0e
Remove JbossJacorb from JMS test pom
2015-03-12 10:49:17 +00:00
jbertram
fa549a00e7
remove useless JavaDoc
2015-03-10 15:23:07 -05:00
jbertram
88ed03e2bd
ACTIVEMQ6-87 Strip @author tags
2015-03-10 15:23:07 -05:00
Martyn Taylor
d29f495771
[maven-release-plugin] prepare for next development iteration
2015-03-10 13:25:56 +00:00
Martyn Taylor
1aea09e862
[maven-release-plugin] prepare release 6.0.0
2015-03-10 13:23:21 +00:00
Martyn Taylor
2fa5b19ed2
[maven-release-plugin] prepare for next development iteration
2015-03-10 10:11:35 +00:00
Martyn Taylor
6058d115fd
[maven-release-plugin] prepare release 6.0.0
2015-03-10 10:01:54 +00:00
Clebert Suconic
0f6d35b324
Moving ActiveMQLoggerHandler away from clashing package util
...
This was causing issues with javadoc
utils is also a package on activemq-server. ActiveMQUtilLogger is using a super class that was not part of the
source path on the javadoc plugin what caused it to exception and interrupt building
2015-03-09 18:21:02 -04:00
Martyn Taylor
1fe673429e
[maven-release-plugin] prepare for next development iteration
2015-03-09 18:14:10 +00:00
Martyn Taylor
5c0bed8994
[maven-release-plugin] prepare release 6.0.0
2015-03-09 17:55:56 +00:00
Martyn Taylor
8603eca336
Remove duplicate deps from poms
2015-03-09 16:29:57 +00:00
Clebert Suconic
440ae2e146
Fixing checkstyle on XATest
...
This test wasn't compiled by the default profile for that reason I missed this.
2015-03-07 00:14:22 -05:00
Clebert Suconic
11dadb5a2a
Fixing Logger errors on the testsuite
...
Fixing the classpath so some tests would find the LogManager configured
Fixing the dependency on the AssertionLoggerHandler so all the tests could also see it without further errors
2015-03-06 23:29:15 -05:00
Clebert Suconic
d101bcbf59
Fixing ServiceLocator on the testsuite
...
My previous commit broke the location of the ServiceUtil / TransactionManagerLocator
This commit is setting a new DummyTM on the integration-tests-suite and the proper TM Locator on the extra-tests
2015-03-06 22:57:04 -05:00
Clebert Suconic
3661829e6d
Refactored the testsuite a bit
...
With these changes the testsuite is not using any LGPL code by default. Anything woud go through extra-tests
These following changes were made on this commit (in summary):
- renamed byteman-tests as extra-tests
- added extra-tests on a new profile called extra-tests
- added all the other tests back to the tests profile
- removed concurrent-tests and moved them all to timing-tests
- removed old tests that were ignored for a long time and were stale
2015-03-06 17:16:26 -05:00
Clebert Suconic
b5a04eb79f
fixing snapshot dependencies after the release
2015-03-06 16:53:36 -05:00
Martyn Taylor
2b4e7babb6
Prepare examples,tests for release
2015-03-06 15:28:08 +00:00
Andy Taylor
8ce007f4ab
fixed test poms to exclude cat X tests modules
2015-03-06 14:23:50 +00:00
Martyn Taylor
969d02f15f
reset Version numbers after release revert
2015-03-06 11:43:46 +00:00
jbertram
63064506e0
Increase timeouts for slower environments
2015-03-04 14:44:24 -06:00
jbertram
080c1dd058
Make test more robust
...
It is possible for the createHAServerLocator() method to return a
connection to the node with the non-default password causing the test
to fail.
2015-03-04 14:44:24 -06:00
jbertram
9a88941a51
ACTIVEMQ6-86 Backup announcement may fail
...
When a live and backup server are both started at or near the same moment
there is a small window where the live server's acceptors have been
started but the server's state != STARTED. During this window if the
backup sends its announcement the announcement will fail and the backup
will shutdown. This fix closes this small window by only starting the
acceptors until the server is fully started.
2015-03-04 14:44:24 -06:00
Clebert Suconic
a43be0ce07
removing version suffix and fix release
...
Also removing the word Netty from the starting acceptor and its version
I don't think it's necessary to mention Netty at the console or its version.
That's internal implementation detail at this point
2015-03-03 19:39:58 -05:00
Clebert Suconic
b00a0a99ab
Fixing the build after the release (6.0.1 snapshot)
2015-03-03 12:36:27 -05:00
Clebert Suconic
f896a394e9
Fixing when the storage is stopped for the storage manager
...
In some cases the ID Generator will be called after the JournalStorage was stopped.
AS a result you could have cases where the ID generator is called and the journal storage is stopped.
Also I added some check to IDs and added some code to cleanup old IDS on the BatchIDManager
2015-02-26 22:52:27 -05:00
Andy Taylor
e6a501a43a
fixed test to be more robust
2015-02-26 13:41:56 +00:00
Andy Taylor
97e63645d3
topic control test fix
2015-02-26 11:06:36 +00:00
Clebert Suconic
210222e24f
moving export-journal / import-journal to the proper tools place
...
This is simply moving the export/import journal to its proper place.
The previous commit should have added docs about this
2015-02-26 00:26:52 -05:00
Martyn Taylor
e194b7803e
Replace all references of port 5445 with 61616
2015-02-25 13:27:04 +00:00
Andy Taylor
fab1734af7
documentation updates
2015-02-23 09:50:08 +00:00
jbertram
0e537d0881
Port a test from the HornetQ code-base.
...
A bug was recently discovered on a legacy HornetQ branch. ActiveMQ 6
doesn't suffer from the same problem, but the test is still valuable.
The HornetQ issue is described on
https://bugzilla.redhat.com/show_bug.cgi?id=1193085 .
2015-02-20 16:35:25 -06:00
Andy Taylor
64d0547268
ACTIVEMQ6-80 - update acceptor config to use URI's
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-80
The configuration of acceptors and connectors now takes a uri rather than params
2015-02-19 12:10:49 +00:00
jbertram
a17955e665
Remove reference to JBoss' Maven repo.
...
Remove the reference to the JBoss Maven repo, and make all the necessary
adjustments on the child-projects. It turns out we don't even need the
security dependencies in the tests.
2015-02-12 14:42:51 -06:00
jbertram
2cbef28cc7
ACTIVEMQ-77 auto queue creation on AMQP send/rec
...
Implements a new feature for the broker whereby it may automatically
create and delete queues which are not explicitly defined through
the management API or file-based configuration when a client sends a
message to or receives from a queue via the AMQP protocol. Note,
the destination has to be named like "jms.queue.*" to be auto-
created. The queue may subsequently be deleted when it no longer has
any messages and consumers. Auto-creation and auto-deletion can both
be turned on/off via address-setting.
2015-02-12 14:02:45 -06:00
Clebert Suconic
87966029c7
This closes #93 on URI work and connection factory serialization
2015-02-12 15:01:12 -05:00
Andy Taylor
3b76ccc92b
ACTIVEMQ6-7 - Improve Serialization on Connection Factory
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-7
Connection Factory is now externalizable and is now serialized as a string that represents a URI. There are schemas for every possible type for connection factory and server locator.
The client JNDI representation of factories has also been changed to be consistent with this.
2015-02-12 09:14:24 +00:00
Clebert Suconic
60179cfc98
Fixing test failure
...
This test started to fail after performance improvements from ACTIVEMQ6-78
After some investigation it turned out that this test was racing with the client
crashing even before the queue was created or sending a non persistent message
asynchronously while the client crashed before the server received the message.
I've also decreased some of the times on pings so the test could run a bit faster
2015-02-11 12:47:14 -05:00
Clebert Suconic
f7c4d56cc7
ACTIVEMQ6-78 Improving performance over Netty NIO blocked calls
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-78 performance work
There are two aspects of this work. First avoid asynchronous packets and avoid
context switch over the executors. Packet had a method to make certain packets such
as commit to use a different executor. Since it's NIO everything is done at the Netty thread now.
The second aspect was to make sure we use the proper buffering
2015-02-11 12:47:14 -05:00
Clebert Suconic
41b28f4b23
ACTIVEMQ6-78 Adding tests to evaluate this task
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-78
This commit is just adding tests I used to debug the blocked calls issue
There are some profiling parameters you can use that I added as a comment to the pom
The reason this is a separate commit is that it would be easier to validate the results of optimizations while
checking after and before any changes
2015-02-11 12:47:01 -05:00
Clebert Suconic
b24d72900b
ACTIVEMQ6-7 - Improve Serialization on Connection Factory
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-7
2015-02-11 11:36:10 +00:00
jbertram
1310442244
ACTIVEMQ6-76 auto queue creation on STOMP send/sub
...
Implements a new feature for the broker whereby it may automatically
create and delete queues which are not explicitly defined through
the management API or file-based configuration when a client sends a
message to or consumes from a queue via the STOMP protocol. Note,
the destination has to be named like "jms.queue.*" to be auto-
created. The queue may subsequently be deleted when it no longer has
any messages and consumers. Auto-creation and auto-deletion can both
be turned on/off via address-setting.
2015-02-09 09:03:58 -06:00
jbertram
593ea2dde2
test needs more time
2015-02-04 11:31:07 -06:00
jbertram
20452083d7
give receiver a bit more time on bridge test
2015-02-02 15:00:08 -06:00
Clebert Suconic
5e72f7e283
This closes #88 - fixing race on test
2015-02-02 14:19:43 -05:00
jbertram
d523f630a0
fix potential race condition in test
2015-02-02 12:26:22 -06:00
Andy Taylor
076faa759f
ACTIVEMQ6-74 - removing unused old jaas implementation and associated tests etc
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-74
This is ready for the import of the ActiveMQ 5 JAAS implementation for 6.1
2015-02-02 15:45:58 +00:00
jbertram
fe11fb4c02
avoid potential NPE
2015-01-30 13:35:28 -06:00
jbertram
9e214e9c43
remove unnecessary cache operation
2015-01-30 13:35:27 -06:00
jbertram
d895988faf
fix race in test
2015-01-27 15:40:15 -06:00
jbertram
8f4142f87e
Fix test, remove redundant operation
2015-01-26 16:25:30 -06:00
jbertram
dfb7d3c382
Fix test, adjust logging
2015-01-26 14:03:54 -06:00
jbertram
11d4b0a80d
removing redundant tests
2015-01-23 08:30:01 -06:00
Martyn Taylor
8b631c1426
Only check TM exists for JMSBridge with ONCE_ONLY
...
A transaction manager is only required on the JMSBridge when the QoS
level is set to ONCE_AND_ONCE_ONLY. Previous to the this patch it was
also checking for a TM on the AT_MOST_ONCE QoS level. This patch also
ensures that the TM is set to null after each test run.
2015-01-23 10:37:39 +00:00
Clebert Suconic
2c7db814f0
fixing checkstyle that I messed up on my last commit
2015-01-22 12:07:53 -05:00
Clebert Suconic
4ebacc9d87
Fixing a few intermittent failures
...
These tests were not as broken as on 2.3.x from the old hornetq branch where this fix originated.
However I will play safe here as I believe the race could be after the exception is raised and before the counter was added
(on ActiveMQMessageHandlerTest)
2015-01-21 18:40:19 -05:00
Clebert Suconic
0eb1e332d3
ACTIVEMQ6-73 Adding missing methods
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-73
https://bugzilla.redhat.com/show_bug.cgi?id=1174152
this is adding missing methods on the Management interface as originally raised at
https://bugzilla.redhat.com/show_bug.cgi?id=1174152 by RedHat
2015-01-21 18:32:21 -05:00
jbertram
754d481d53
ACTIVEMQ6-52 Graceful shutdown
...
Implements a feature whereby the broker will not shutdown while there are
clients connected. A timeout can be specified so that even if there are
clients connected the broker will still shutdown after a certain time.
2015-01-21 13:18:55 -06:00
Martyn Taylor
26ca3084e2
Rework dependency management in top level poms
...
This patch moves test dependencies into out of the main pom and into the
tests module pom. This will make managing 3rd party category X
dependencies much easier going forward. In addition each dependency
license has been outlined in the pom and README entry added to outline
future policy when adding 3rd party depdendencies.
2015-01-19 15:40:30 +00:00
Clebert Suconic
9748340a0e
This closes #66 on JMS / RA fixes around tests and TM
2015-01-16 11:54:33 -05:00
Martyn Taylor
2e9aad9ef4
Update JMS and RA Tests to ensure fresh TX usage
...
Some of the OutgoingConnection and RA tests were failing due to a
previous transaction being present when using the Arjuna TM. This patch
adds methods to allow tests which TM to use and ensures that Dummy TM is
cleaned up each after each test.
2015-01-16 16:28:27 +00:00
Justin Bertram
fe1ba7ca21
ACTIVEMQ6-69 remove deprecated items
2015-01-15 11:55:24 -06:00
Andy Taylor
4b63891aaa
ACTIVEMQ6-67 - cleaned up configuration
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-67
fixed distribution so that file based security works and hot deployers as broken and no longer needed with new bootstrap.
Also combined the jms and core configuration files.
2015-01-15 15:48:22 +00:00
jbertram
e293d80f08
ACTIVEMQ6-13 auto-create/auto-delete jms queues
...
Implements a new feature for the broker whereby it may automatically
create and delete JMS queues which are not explicitly defined through
the management API or file-based configuration. A JMS queue is created
in response to a sent message or connected consumer. The queue may
subsequently be deleted when it no longer has any messages and
consumers. Auto-creation and auto-deletion can both be turned on/off
via address-setting.
2015-01-13 15:29:17 -06:00
Clebert Suconic
ec9ff4f55e
ACTIVEMQ6-68 Improving Scale down routine and fixing test
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-68
The logic on transferring method is a bit complex, where
I found a better way to calculate the targetIDs.
This will also fix a few ScaleDownTests
I also added some extra tests using ScaleDownDirect
2015-01-12 21:46:55 -05:00
Martyn Taylor
e58f2362cc
Fix failing RA OutgoingConnectionTests
...
Some of the outgoing connection tests require a dummy transaction
manager to setup a fake transaction. The default transaction manager is
set to the JBoss TX manager and so the tests were failing. This patch
split the OutgoingConnectionTest into ones that require a real TM
manager vs Dummy TM Manager.
.
2015-01-06 17:06:56 +00:00
Clebert Suconic
e0b0b6bf89
ACTIVEMQ6-64 Messages duplicated during ScaleDown or queue.totalIterator
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-64
The redelivery list was not isolated on the PageIterator. This is moving the
redelivery list to the Iterator so we would have proper isolation of the functionality.
The previous version was assuming a single instance of PageIterator, QueueImpl and PageSubscription.
When we started using more than one instance of the Iterator we created this bug.
2015-01-05 20:34:05 -05:00
Howard Gao
1d022fe474
ACTIVEMQ6-43(reopened) : Replace License Headers on codebase
...
- added missing license headers found by maven rat plugin.
most of them added automatically via apache-rat
a few manually added
- added apache-rat maven plugin to the build cycle
2015-01-05 13:14:25 -05:00
John D. Ament
96dc7e40ea
ACTIVEMQ6-40 Update to the geronimo jms 2 spec JAR.
2015-01-02 12:51:37 -05:00
jbertram
16d74b2bec
Merge #50 ttl fix from Howard
2014-12-31 11:05:07 -06:00
Howard Gao
1d159e6da0
Bug 1174886 - HornetQ TTL / check-period not being respected
...
on the replication channel
The connection-ttl and client-failure-check-period are not passed
to the server locator used to create replication connection. So the
fix sets the two parameters in SharedNothingBackupActivation.
2014-12-23 20:38:35 +08:00
Andy Taylor
2514611285
ACTIVEMQ6-14 - more JNDI removal
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-14
cleaned up more remaining server JNDI code and fixed some abstraction and naming around JNDI and bindings
2014-12-19 08:07:06 +00:00
Martyn Taylor
f28c9be8af
Only Set TM on Bridge in QoS modes that require it
...
The bridge currently tries to assign a TM even when the quality of
service level is set to Duplicates OK. This QoS does not use or require
a TM. This patch stops the bridge from attempting to assign a TM for
this QoS and also checks that a TM is set of the other QoS. If TM is
not set for a QoS that requires one, a error is logged and RunTime
exception thrown.
2014-12-16 16:33:58 +00:00
Martyn Taylor
739c0f368b
Allow tests to set TM in TMLocatorImpl
...
Some tests require a proper TM to be returned by the TMLocator
implementation whilst others require a DummyTM to be returned. This
patch makes allows TM returned by the locator class to be changed by the
test.
2014-12-16 16:33:58 +00:00
Martyn Taylor
891e3ef1cb
Add TM Locator impl to JMSBridge tests
2014-12-12 16:35:13 +00:00
Clebert Suconic
09490cdba3
ACTIVEMQ6-54 Fixing tests broken after Paging fix
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-54
Changing the order of depaging introduced an extra check that needs to be checked now.
This will probably take care of the issue by checking if the page is complete before depage.
2014-12-10 22:06:35 -05:00
Clebert Suconic
fecd376448
Fixing build after XA Test
...
The JMS Testsuite still need the TM for some tests, not having a TM would break compilation on the JMS Test
2014-12-10 10:39:08 -05:00
Martyn Taylor
2982f37512
ActiveMQ6-6 Remove last of JBoss Transactions SPI
2014-12-10 14:00:34 +00:00
Martyn Taylor
8f91af1b5c
ActiveMQ6-6 Factor out WildFly XA Recovery
...
Pulls out WildFly XA Recovery specifics into a different project. Some
XA recovery code is still present and is used as integration points for
integrating TM XA recovery processes.
2014-12-09 16:08:34 +00:00
Clebert Suconic
d7c7d86d55
Merging #36 on SPI and TX integration
2014-12-08 12:25:18 -05:00
Andy Taylor
e34fd09ce3
ACTIVEMQ6-6 - remove SPI usage
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-6
Removed the jboss security implementations and also implemented the location of Transaction Managers using Service Loader and removed the jboss implementation.
2014-12-08 11:06:24 +00:00
Clebert Suconic
933d90a4f3
ACTIVEMQ6-54 Depaging is not kicking in on some scenarios, and Browsing is not looking towards paging
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-54
This is fixing a few issues around paging:
- Browsing it not looking towards Paging. I'm using the queue.totalIterator which is a read-only iterator that goes towards the pages messages.
- Depage is not kicking correctly in some scenarios. I have improved the logic on scheduling depage for that.
2014-12-05 14:48:14 -05:00
jbertram
7cfd76d321
Handful of test fixes
2014-12-05 09:27:53 -06:00
jbertram
e6a3d3a0c5
ACTIVEMQ6-14 Replace JNDI server with client impl
2014-12-05 09:27:52 -06:00
Clebert Suconic
a3afd62575
ACTIVEMQ6-20 removing twitter integration
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-20
this has been identified as a dead feature.
It was only useful for presentations...
it had its time and we have better examples we can use...
It's time for this feature to go!
2014-12-02 12:33:16 -05:00
Howard Gao
293b242ffc
ACTIVEMQ6-43 Replace License Headers on codebase
...
upgrade mycila plugin to 2.6
2014-12-01 10:20:24 +08:00
Martyn Taylor
60fbb1055b
ACTIVEMQ6-6 Add Service Extension Component
...
Adds a new service extensions components used to house any extension
points for integration and extension. In addition this patch adds
initial extension points for XAResource wrapping.
2014-11-25 15:51:03 +00:00
Clebert Suconic
5361e58354
ACTIVEMQ6-44 - Internal error during UDP parsing
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-44
The DiscoveryGroup should be resilient to failures on the communication.
We shouldn't kill the Loop if an exception happened during the read of the UDP messages.
2014-11-21 11:27:02 -05:00
Clebert Suconic
89a84c6ae2
More name changes to activemq
...
more hornetq changes
2014-11-19 16:01:54 -05:00
Martyn Taylor
e91ef714c7
Replace urn:hornetq with urn:activemq
2014-11-19 15:15:36 +00:00
Martyn Taylor
4a6b980fed
Remove references to HornetQ in doc and Comments
2014-11-19 15:15:35 +00:00
Clebert Suconic
cd31652ddc
ACTIVEMQ6-4 Fixing tests after package and classes renames
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-4
this will include a few fixes for the tests including
hornetq-version renaming to activemq-version
2014-11-18 23:04:34 -05:00
jbertram
034adfbf9b
ACTIVEMQ6-4 Rename HornetQ* classes to ActiveMQ*
2014-11-18 16:53:09 -06:00
jbertram
e7a3e7d25b
ACTIVEMQ6-9 Clean up docs
2014-11-18 16:53:08 -06:00
Martyn Taylor
176e817805
ACTIVEMQ6-5 Replace 3rd party CatX deps with CatA
2014-11-18 17:33:52 +00:00
Andy Taylor
aeaba39219
ACTIVEMQ6-4 - rename all config files
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-4
rename all the config files to activemq and fix schema names in them
2014-11-18 15:54:53 +00:00
Andy Taylor
574c8fe997
ACTIVEMQ6-4 - refactor schemas
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-4
Refactor all the schemas to use an activemq namespace and rename schema files
2014-11-18 11:27:10 +00:00
Andy Taylor
d0d686b527
ACTIVEMQ6-4 - refactor default configuration
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-4
Remove the auto generation of the default config and rename to ActiveMQ
2014-11-18 11:27:10 +00:00
Clebert Suconic
1bf2e41f23
ACTIVEMQ6-3 Renaming Exception classes and fixing native compilation
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-3
The Native Layer has some dependencies on the Exception classes so
I had to rename them now in order to fix the native dependencies
2014-11-17 21:31:19 -05:00
jbertram
36d86ffb00
ACTIVEMQ6-36 Disallow SSLv3 for POODLE
2014-11-17 13:37:51 -06:00
Clebert Suconic
9a587c5633
ACTIVEMQ6-3 renaming package names from activemq6 to activemq
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-3
We are renaming packages from activemq6 to activemq as that's more generic and version independent
The previous commit renamed the directories. On this commit now I'm changing the code.
If we changed the code and the directories on the same commit git would remove and add a lot of files
without recognizing the renames.
2014-11-17 09:33:53 -05:00
Clebert Suconic
3c44e26854
ACTIVEMQ6-3 renaming directories from activemq6 to activemq
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-3
We are renaming packages from activemq6 to activemq as that's more generic and version independent
On this first commit I'm just renaming the directories otherwise the history would be lost. The next commit will rename the text on the directories.
If I squash these two commits git will make us delete / add again.
2014-11-17 09:33:36 -05:00
Martyn Taylor
1f869f9f4c
Use new package names in config and classes
2014-11-11 18:28:18 +00:00
Andy Taylor
23e8edd979
ACTIVEMQ6-4 - Rename packages to ActiveMQ
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-4
Repackage the modules, java source and maven poms to apache.activemq6
2014-11-11 18:28:18 +00:00
Martyn Taylor
177e6820b5
ACTIVEMQ6-2 Update to HQ master
2014-11-11 10:48:14 +00:00
Andy Taylor
8ecd255f98
ACTIVEMQ6-1 - Initial HornetQ Donation Commit
...
https://issues.apache.org/jira/browse/ACTIVEMQ6-1
This is the initial donation of the HornetQ codebase as per document http://incubator.apache.org/ip-clearance/hornetq.html
2014-11-10 10:31:25 -06:00