Commit Graph

1890 Commits

Author SHA1 Message Date
Clebert Suconic 7d9d3086ab This closes #482 2016-04-26 10:04:24 -04:00
Howard Gao fcda12f92c ARTEMIS-214 exception when sending 10k message 2016-04-26 10:04:24 -04:00
Clebert Suconic 586372603f This closes #490 2016-04-26 10:02:01 -04:00
Andy Taylor 60df3dc05f ARTEMIS-503 - replace proton-jms with proton-jms from ActiveMQ
some extra fixes needed

https://issues.apache.org/jira/browse/ARTEMIS-503
2016-04-26 14:02:53 +01:00
Clebert Suconic 2c19356b89 This closes #489 2016-04-25 22:48:55 -04:00
jbertram 927edb76f3 ARTEMIS-386 fix shebang 2016-04-25 13:21:36 -05:00
Martyn Taylor a3558c3dce This closes #487 2016-04-25 15:11:32 +01:00
Paul Gallagher f9538fafd6 Added failure when doc creation fails, and added path to the node that the plugin has installed, this means you don't need node installed on the system to use gitbook 2016-04-25 15:11:32 +01:00
Martyn Taylor 00740b141a This closes #480 2016-04-25 14:48:58 +01:00
Bernd Gutjahr 971a0a13bd ARTEMIS-497 Prevent 10 second stalls when closing an SSL connection
When NettyConnection.classSSLAndChannel is called from the EventLoop,
waiting for the SSL handler to close will always take 10 seconds, because
the sslCloseFuture is from a task that is scheduled with the same
EventLoop. But since the EventLoop is a single threaded executor, it
will only be executed after the current task is completed.

Due to the single threaded nature of the EventLoop, all blocking calls
should be avoided. Therefore, I removed both awaitUninterruptibly calls
if the closing happens within an event loop tasks. As a side effect,
the annoying server log timeout warnings will go away.
2016-04-25 14:48:58 +01:00
Martyn Taylor 224e049696 This closes #485 2016-04-25 14:33:17 +01:00
Ingo Weiss 82019cb3be [ARTEMIS-502] AMQ224044, error acknowledging message: java.lang.NullPointerException, can happen sometimes during load 2016-04-25 14:33:17 +01:00
Martyn Taylor d947741a92 This closes #483 2016-04-25 14:18:30 +01:00
bayern39 350eec896a ARTEMIS-501 Incorrect log message in class ClientSessionFactoryImpl 2016-04-25 14:18:30 +01:00
Martyn Taylor 4bb2d3f24b This closes #486 2016-04-25 14:15:43 +01:00
Martin Styk 96963d7832 ARTEMIS-504 Inconsistent time unit on scheduling slow consumer reaper thread between documentation and source code
slow-consumer-check-period represents seconds between slow consumer reaper thread execution, fixed documentation to reflect this
2016-04-25 14:15:42 +01:00
Martyn Taylor 97200074cb This closes #481 2016-04-25 14:13:30 +01: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
Andy Taylor 76d937fab3 ARTEMIS-500 - possible index out of bounds after amqp sasl handshake
https://issues.apache.org/jira/browse/ARTEMIS-500
2016-04-25 14:13:30 +01:00
Martyn Taylor abe5fd609f This closes #479 2016-04-25 13:24:21 +01:00
Howard Gao fc49ca1acc ARTEMIS-499 Upgrade frontend-maven-plugin 2016-04-22 09:56:43 +08:00
Clebert Suconic 8fc618d30e This closes #478 2016-04-21 12:13:42 -04:00
Clebert Suconic 172de47ce0 Created queue should be durable on openwire 2016-04-21 10:44:50 -04:00
Clebert Suconic 31055b6f0a Removing Marshalled property from Openwire 2016-04-20 23:00:57 -04:00
Clebert Suconic 1f586eaecb This closes #469 2016-04-20 12:33:02 -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
Martyn Taylor 0a719e08ed This closes #468 2016-04-20 15:29:25 +01:00
Bernd Gutjahr ec4cbf7b34 abstracted global client thread pools from ThreadPoolExecutor as implementation
Changed the ActiveMQClient interface to expose global thread pools as
ExecutorService and ScheduledExecutorService interface. This is necessary
to allow injecting thread pool implementations that are not based on
ThreadPoolExecutor or ScheduledThreadPoolExecutor.
2016-04-20 15:29:25 +01: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
Bernd Gutjahr 2360fb4c9f ARTEMIS-485 Allow configuring an unbounded cached global client thread pool
Adapted code to handle -1 correctly to configure an unbounded thread pool.
In addition, I removed the capability to reconfigure the max pool size
of existing thread pools, because the global thread pool can either be
an unbounded cached pool, or a bounded fixed size pool.
These 2 kinds of pool also differ in the used blocking queue,
therefore cannot be converted into each other.
2016-04-20 15:29:25 +01:00
Martyn Taylor 725379920e This closes #477 2016-04-20 15:12:19 +01:00
Clebert Suconic b89faae458 ARTEMIS-490 Fixing new largeMessage copy 2016-04-20 10:08:29 -04:00
Martyn Taylor de0ac57aa4 This closes #474 2016-04-20 14:14:45 +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
Martyn Taylor cb8d3b78e6 This closes #475 2016-04-20 14:05:17 +01:00
Clebert Suconic bd3d0492fd ARTEMIS-482 testsuite fixes:
The new Executor operationr needs to be synchronized as a few tests are failing because of this
another fix on the test base class
2016-04-20 14:05:17 +01:00
Martyn Taylor d142c2b52c This closes #476 2016-04-20 13:55:23 +01:00
Andy Taylor f47bb6cc4b ARTEMIS-494 - implement filters correctly
took this code from ActiveMQ which was over hawled in this area

https://issues.apache.org/jira/browse/ARTEMIS-494
2016-04-20 12:14:04 +01:00
Clebert Suconic 17fe4707f4 This closes #473 2016-04-19 23:00:32 -04:00
jbertram 9d7a49b388 ARTEMIS-417 more broker-level JMX attrs 2016-04-19 23:00:32 -04:00
Clebert Suconic 03b2650990 ARTEMIS-482 fixing testsuite. Stopping Executor at the proper place
You have to stop the InVMExecutor after servers were stopped otherwise tests may hang
2016-04-19 17:35:29 -04:00
Andy Taylor 31e4e7d328 This closes #471 ARTEMIS-471 Fixing Divert on LargeMessages and Replication 2016-04-19 15:00:09 +01:00
Clebert Suconic e81fa5c359 ARTEMIS-490 Fixing LargeMessage copy through replication
this will fix cases like DLQ and Diverts
2016-04-19 15:00:09 +01: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
Clebert Suconic b4a6427d65 This closes #472 2016-04-19 09:49:59 -04:00
Andy Taylor 97f3fb241c ARTEMIS-493 - NullPointerException when trying a null connection remote properties are passed by client
adde a check and fixed a couple of other potential NPE's

https://issues.apache.org/jira/browse/ARTEMIS-493
2016-04-19 11:21:33 +01:00
Clebert Suconic bfa3b27cf7 This closes #459 2016-04-18 18:00:19 -04:00
Ingo Weiss e378e4f88f ARTEMIS-480 BridgeReconnectTest.testDeliveringCountOnBridgeConnectionFailure fails due to racing condition 2016-04-18 17:59:44 -04:00
Clebert Suconic 44c02be829 This closes #466 2016-04-18 17:52:22 -04:00
jbertram 2feda1d8f0 ARTEMIS-407 remove StompConnect references 2016-04-18 17:52:22 -04:00