Clebert Suconic
aafb2087fa
Revert "NO-JIRA upgrade maven-surefire-plugin to 2.19.1"
...
This reverts commit 63054a0706
.
2017-03-29 21:43:06 -04:00
Justin Bertram
6ddcda55db
NO-JIRA server control test update
2017-03-29 16:00:26 -04:00
Martyn Taylor
42bf845edb
ARTEMIS-1084 Throw RunTime on bad Oracle table size
2017-03-29 14:59:12 +01:00
Jiri Danek
63054a0706
NO-JIRA upgrade maven-surefire-plugin to 2.19.1
2017-03-29 09:27:27 -04:00
Howard Gao
82c720bdfb
ARTEMIS-1071 Invalid Type exception handling improvements
...
If broker fails to decode any packets from buffer, it should
treat it as a critical bug and disconnect immediately.
Currently broker only logs an error message.
2017-03-29 09:19:52 -04:00
Justin Bertram
ce3adf6fa8
ARTEMIS-1065 get queue names by routing type
2017-03-29 09:18:16 -04:00
Clebert Suconic
1f4473e8d7
ARTEMIS-1081 Implementing AMQP UndeliverableHere
2017-03-28 20:32:28 -05:00
Clebert Suconic
746220e11e
ARTEMIS-1080 Implementing AMQP::reject
2017-03-28 20:32:28 -05:00
Clebert Suconic
13a272b37b
ARTEMIS-1056 fixing tests
...
When I added flow control, some tests that were using reflection started to fail.
Also as a precaution I'm using <= on the flow control low credit check
2017-03-28 20:32:28 -05:00
Justin Bertram
b7e11f92b6
ARTEMIS-1064 AddressControl routingType fix
2017-03-28 15:30:52 -05:00
Andy Taylor
ec7e6d7ea7
ARTEMIS-1075 - Add Routing Type to QueueControl management API
...
https://issues.apache.org/jira/browse/ARTEMIS-1075
2017-03-28 10:40:52 +01:00
Clebert Suconic
07f7916ed3
NO-JIRA: Cleanup tests
2017-03-24 18:32:38 -04:00
Martyn Taylor
a9c3e437d8
ARTEMIS-1068 Add Routing Exclusivity test for JMS AMQP
2017-03-24 17:40:36 -04:00
Justin Bertram
427039ef38
ARTEMIS-1068 routingType + AMQP fixes
2017-03-24 15:15:10 -05:00
Clebert Suconic
2c9b02806d
ARTEMIS-1056 Removing PartialPooledByteBufAllocator
2017-03-23 18:16:48 -05:00
Clebert Suconic
1c88c06abb
ARTEMIS-1059 option to monitor Paging counters
...
Adding System.property artemis.debug.paging.interval (in seconds)
to debug paging counters.
2017-03-23 09:35:40 -05:00
Justin Bertram
bf4d7767af
NO-JIRA fix race in cluster test
2017-03-22 23:32:37 -04:00
Martyn Taylor
e33b7af5ac
ARTEMIS-1061 Ack MQTT PubRel management messages
2017-03-22 23:26:32 -04:00
Martyn Taylor
10c9d797d1
NO-JIRA Bump extra tests version
2017-03-22 11:45:47 +00:00
Clebert Suconic
65ac7f700b
ARTEMIS-1052 Proper Expiry over AMQP
2017-03-20 18:33:31 -04:00
Jiri Danek
7ac27df7a0
ARTEMIS-1052 adding a test for expiry and AMQP
...
This closes #1106
2017-03-20 18:05:45 -04:00
Clebert Suconic
9385ce4872
NO-JIRA: Adding timeouts on failover tests
2017-03-20 18:04:31 -04:00
Clebert Suconic
a40d25c06a
ARTEMIS-1042 Fixing AMQPFailoverTest
2017-03-20 18:04:31 -04:00
Timothy Bish
a0948928c3
ARTEMIS-60 Validate AMQP sender applied TransactionState
...
Update the AMQP test client to allow for better inspection of the
delivery updates that happen during normal use. Use those modification
to check that when the broker's sender accepts and settles a non-settled
disposition it adds a proper TransactionState disposition with the
correct outcome and txn-id in that state.
2017-03-20 16:46:18 -04:00
Timothy Bish
29796151c3
ARTEMIS-59 Accept transacted message using AMQP TransactionState
...
When a message is sent to the broker with a TransactionState indicating
that the message should be included in a transaction the disposition from
the broker indicating acceptance of the message should be done using a
TransactionState value that contained the TX ID and the Accepted
disposition.
2017-03-20 12:42:56 -04:00
Clebert Suconic
4b50d6c431
ARTEMIS-1048 Fixing Unsigned types and Selectors
2017-03-17 18:05:21 -04:00
Clebert Suconic
1ef4dcf7d9
ARTEMIS-1046 Fixing TX eventually stalling with AMQP
...
I have also reviewed the model in which we used transactions
2017-03-17 16:50:56 -04:00
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