Commit Graph

1961 Commits

Author SHA1 Message Date
Martyn Taylor 1c3d63516f ARTEMIS-514 Add support for LargeMEssages backed by Database 2016-05-04 13:36:28 -04:00
Martyn Taylor c9b953433e ARTEMIS-513 Add JDBC Sequential File Factory Impl 2016-05-04 12:24:25 +01:00
Clebert Suconic 2a415a80e9 This closes #501 2016-05-03 10:40:57 -04:00
Andy Taylor c161ab46a6 ARTEMIS-503 - replace proton-jms with proton-jms from ActiveMQ
Ive copied over the source itself

https://issues.apache.org/jira/browse/ARTEMIS-503
2016-05-03 10:40:56 -04:00
Martyn Taylor 7fb603f78f This closes #500 2016-05-03 14:22:32 +01:00
jbertram 4bab1f0644 ARTEMIS-512 NPEs in LDAP authz 2016-05-03 14:22:32 +01:00
Martyn Taylor b863e69eb7 This closes #497 2016-05-03 14:14:34 +01:00
Diego Bes 75a4e78948 Change keep alive ratio to 1.5 from 0.75
Fixes: ARTEMIS-397

From mqtt specs:

“If the Keep Alive value is non-zero and the Server does not receive a
Control Packet from the Client within one and a half times the Keep
Alive time period, it MUST disconnect the Network Connection to the
Client as if the network had failed [MQTT-3.1.2-24]. “
2016-05-03 14:14:34 +01:00
Andy Taylor 7d0d779990 This closes #498 ARTEMIS-510 create queue only on route 2016-05-03 10:59:51 +01:00
jbertram d1a687a98f ARTEMIS-510 create queue only on route 2016-05-03 10:59:51 +01:00
Andy Taylor 882b8edbd8 This closes #494 Individualizing logger.traces on server 2016-05-03 10:40:17 +01:00
Clebert Suconic 7bebe507cf Individualizing loggers on journal 2016-04-28 14:37:23 -04:00
Clebert Suconic f0df9d8c78 Individualizing logger.traces on org.apache.activemq.artemis.core.server (artemis-server project)
This makes it easier to debug through loggers
2016-04-28 14:35:11 -04:00
Clebert Suconic 2135911eaa This closes #492 2016-04-27 10:06:14 -04: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
Martyn Taylor 26c4680c50 This closes #488 2016-04-27 11:04:27 +01:00
Bernd Gutjahr 1591d25692 ARTEMIS-507 New thread pool for client threads
- Added a thread pool executor, that combines cached and fixed size thread pooling.
  It behaves like a cached thread pool in that it reuses exising threads and removes
  idle threads after a timeout, limits the maximum number of threads in the pool, but
  queue additional request instead of rejecting them.
- changed existing code to use the new thread pool instead of a fixed-size thread pool in
  all places that are configured with a client thread pool size.
2016-04-27 11:03:32 +01:00
Martyn Taylor d5ebe071a0 This closes #493 2016-04-27 10:15:17 +01:00
Andy Taylor 1530ea3032 re-adding code accidently removed 2016-04-27 07:26:55 +01:00
Clebert Suconic eb75a69bce This closes #491 2016-04-26 21:33:20 -04:00
jbertram 9c840bdeb8 ARTEMIS-459 NPE during RA tearDown 2016-04-26 21:33:19 -04:00
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