Commit Graph

56 Commits

Author SHA1 Message Date
Ville Skyttä 81956e1716 Use StandardCharsets more 2016-05-16 12:09:46 -04:00
Ville Skyttä 09a0b98d24 Remove redundant type arguments 2016-05-13 21:56:04 +03: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 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
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
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ä e6e1311f8d Add missing @Overrides 2016-04-11 16:51:01 -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
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
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ä a0dc9861a0 Access static members directly 2015-12-21 22:01:21 -05: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
Ville Skyttä 25ae472455 Add missing @Override annotations 2015-12-06 01:27:35 +02:00
Howard Gao 0abf52468b ARTEMIS-200 Message Compression Support 2015-09-14 09:56:19 +08: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
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
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
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
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
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
Howard Gao 65e9ec01b8 Fix openwire unit tests
Fix JmsRedeliveredTest and add processing of RemoveSubscriptionInfo command
2015-08-03 08:56:27 -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
Ville Skyttä 2a647c176f Declare ConcurrentMaps instead of ConcurrentHashMaps
See PR #88 for discussion.
2015-07-22 16:16:57 +03: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
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
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
Howard Gao 5e1758cb87 ARTEMIS-146 Fix Queue auto-creation 2015-06-30 10:03:43 +08:00