Justin Bertram
abcf4b747e
ARTEMIS-1428 support max frame payload length for STOMP websocket
2017-09-26 15:17:07 -04:00
Pat Fox
50fcd48e28
ARTEMIS-1433 adding AddressMemoryUsage() and AddressMemoryUsagePercentage() to ActiveMQServerControl
2017-09-25 10:37:16 -04:00
Jeff Mesnil
0010b0a090
[ARTMIS-1431] Adapt transport configuration in ClientProtocolManagerFactory
...
add the adaptTransportConfiguration() method to the
ClientProtocolManagerFactory so that transport configurations used by
the ClientProtocolManager have an opportunity to adapt their transport
configuration.
This allows the HornetQClientProtocolManagerFactory to adapt the
transport configuration received by remote HornetQ broker to replace the
HornetQ-based NettyConnectorFactory by the Artemis-based one.
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1431
2017-09-25 10:33:56 -04:00
Timothy Bish
8dddc7370c
ARTEMIS-1395 Clean up toString code
...
Clean up toString code and properly log error message.
2017-09-08 12:44:07 -04:00
Francesco Nigro
35c3475092
ARTEMIS-1401 Numerical overflow fix when using System::nanoTime
2017-09-07 10:40:14 -04:00
Martyn Taylor
16dfd777b8
ARTEMIS-1387 Fix AMQPtoMQTT and Link route issues
2017-09-06 11:21:56 +01:00
Clebert Suconic
c8982d775b
[maven-release-plugin] prepare for next development iteration
2017-09-05 17:03:48 -04:00
Clebert Suconic
84d5ac65b4
[maven-release-plugin] prepare release 2.3.0
2017-09-05 17:03:37 -04:00
Pat Fox
4618b192c2
ARTEMIS-1381 add JMX operation removeAllMessages() to the queue
...
fix checkstyle trailing spaces
2017-09-01 00:55:07 +02:00
Clebert Suconic
ed1b268d42
[maven-release-plugin] prepare for next development iteration
2017-08-31 13:48:09 -04:00
Clebert Suconic
21f2a4a52c
[maven-release-plugin] prepare release 2.3.0
2017-08-31 13:47:57 -04:00
Clebert Suconic
6fda75a9fc
ARTEMIS-1297 Load balance or redistribution of AMQP Messages
2017-08-29 12:56:15 -05:00
Clebert Suconic
f2d74e7a43
ARTEMIS-1367 Moving CriticalAnalyzerPolicy
2017-08-24 18:08:01 -04:00
Francesco Nigro
249745506e
ARTEMIS-1367 Add LOG to the Critical Analyzer policies
2017-08-22 17:37:01 +02:00
Clebert Suconic
ce6942a9aa
ARTEMIS-1353 Initial replication of large messages out of executor
...
This is based on the work @jbertram made at the github pr #1466 and the discussions we had there
2017-08-18 16:19:25 -04:00
Andy Taylor
4ee9580e69
ARTEMIS-1350 - Added close button to console for client objs
...
https://issues.apache.org/jira/browse/ARTEMIS-1350
2017-08-18 13:55:37 +01:00
Martyn Taylor
bb3965b7f7
ARTEMIS-1349 Add management views for client objects
2017-08-17 10:44:41 +01:00
Michael Andre Pearce
5793dbaa3c
ARTEMIS-1342: Support Netty Native KQueue on macOS - Logging fix
...
Correct the logging id to correct matching id for level.
Correct remoting threads prop name to begin with lower case.
2017-08-10 02:55:30 +01:00
Michael Andre Pearce
0bc5510059
ARTEMIS-1342: Support Netty Native KQueue on macOS
...
Add support for KQueue for when server or client runs on macOS. This is inline with the epoll support for linux.
2017-08-09 15:23:16 -04:00
Clebert Suconic
7b5d9f120c
ARTEMIS-1308 Removing start/endcall around commit
...
this issue many warning around the testsuite around MessageListeners
it's valid to call the commit from a different thread on this case.
2017-08-09 15:18:54 -04:00
gtully
9fedb47c40
[ARTEMIS-1310] [ARTEMIS-1264] consolidate configuration to require login configuration scope
2017-08-08 13:28:50 -04:00
gtully
ca7197b5c3
[ARTEMIS-1310] add amqp sasl gssapi mechanism support
...
delegate to the jdk saslServer. Allow acceptor configuration of supported mechanismis; saslMechanisms=<a,b>
and allow login config scope for krb5 to be configured via saslLoginConfigScope=x
2017-08-08 13:28:50 -04:00
Michael Andre Pearce
7b40abead9
ARTEMIS-1308: Make acknowlegde in AcitveMQMessage non blocking
...
Allow commit within the acknowledge to be non blocking (batch) this toggles the on the existing blockonacknowlegde config.
2017-08-08 10:07:15 -04:00
Clebert Suconic
f16af75354
ARTEMIS-1324 Deadlock detection and health check of critical components
2017-08-07 18:40:03 -04:00
Justin Bertram
b6b8fa411f
ARTEMIS-1322 ServerLocator option to ignore topology for load-balancing
2017-08-04 13:56:30 -05:00
Howard Gao
613b459c52
ARTEMIS-1315 Client disconnection may cause consumer to hang
...
When calling a consumer to receive message with a timeout
(receive(long timeout), if the consumer's buffer is empty, it sends
a 'forced delivery' the waiting forever, expecting the server to
send back a 'forced delivery" message if the queue is empty.
If the connection is disconnected as the arrived 'forced
delivery' message is corrupted, this 'forced delivery' message
never gets to consumer. After the session is reconnected,
the consumer never knows that and stays waiting.
To fix that we can send a 'forced delivery' to server right
after the session is reconnected.
2017-08-02 12:48:43 -04:00
Dmitrii Tikhomirov
bef3864c72
[ARTEMIS-1311] Log messages without prefixed id code in artemis-core-client
2017-07-31 12:51:15 -04:00
Clebert Suconic
7bf8e4e890
ARTEMIS-1305 Server Frozen during shutdown if RA is retrying
2017-07-25 22:33:55 -04:00
Clebert Suconic
fdad83be22
[maven-release-plugin] prepare for next development iteration
2017-07-24 21:21:18 -04:00
Clebert Suconic
71b1cc2a20
[maven-release-plugin] prepare release 2.2.0
2017-07-24 21:21:06 -04:00
Clebert Suconic
50a900c04b
ARTEMIS-1304 Message loss on Commmit timeout during failover
2017-07-24 20:23:56 -04:00
Francesco Nigro
fdbf4f450a
ARTEMIS-1301 Network failures recognition on backpressure while streaming large messages
2017-07-20 10:33:04 +01:00
Martyn Taylor
e742de7d6e
ARTEMIS-1290 QueueQuery add prefix on address 2
2017-07-18 16:16:42 -04:00
Martyn Taylor
34df3afe0c
Revert "ARTEMIS-1290 QueueQuery add prefix on address"
...
This reverts commit 44506f2258
.
2017-07-18 16:16:42 -04:00
Andy Taylor
6f140897c6
ARTEMIS-1296 - fix quorum vote
...
Add a check on top of just being able to connect to a live broker
https://issues.apache.org/jira/browse/ARTEMIS-1296
2017-07-18 08:10:11 +01:00
Martyn Taylor
44506f2258
ARTEMIS-1290 QueueQuery add prefix on address
2017-07-17 10:31:20 -04:00
Clebert Suconic
f18b4ee0c9
ARTEMIS-1287/ARTEMIS-1292 Complete Page on the Journal
...
fixing PagingTest.testDeletePhysicalPages
2017-07-14 15:04:45 -04:00
Jiri Danek
3e1237c1eb
NO-JIRA fix few typos and a docstring
2017-07-11 19:34:06 -04:00
Clebert Suconic
36357e4556
ARTEMIS-1282 ClientSession.ceateQueue (String) method is using temporary queues
2017-07-11 19:24:22 -04:00
Clebert Suconic
7fd17f407f
ARTEMIS-1269 Simple Actor to replace certain executions
...
This is replacing an executor on ServerSessionPacketHandler
by a this actor.
This is to avoid creating a new runnable per packet received.
Instead of creating new Runnable, this will use a single static runnable
and the packet will be send by a message, which will be treated by a listener.
Look at ServerSessionPacketHandler on this commit for more information on how it works.
2017-07-11 14:22:36 -04:00
Jiri Danek
ad228e202f
NO-JIRA: Addressing some deprecated usage on the codebase
...
- PROTOCOL_PROP_NAME
- ConnectionLifeCycleListener
- GENERIC_IGNORED_FILTER
- HttpHeaders.Names
- HttpHeaders.Names and similar
2017-07-10 14:06:07 -04:00
gtully
d4150be0d9
ARTEMIS-1264 allow role mapping via chained login modules
...
Add krb5sslloginmodule that will populate userPrincipal that can be mapped to roles independently
Generalised callback handlers to take a connection and pull certs or peerprincipal based on
callback. This bubbled up into api change in securitystore and security manager
2017-07-06 23:41:02 -04:00
gtully
cda1e018e1
ARTEMIS-1264 Foundation work for authentication with Kerberos using KRB_ cypher suites.
...
Core client with netty connector and acceptor doing kerberos
jaas.doAs around sslengine init such that the SSL handshake can do kerberos ticket
generaton and validation.
The kerberos authenticated user is then validated with the security manager before
being populated into the message userId.
The feature is enabled with the kerb5Config property. When lowercase it is the
principal. With a leading uppercase char it is the login.config entry to use.
2017-07-06 11:30:25 -04:00
Daniel Kulp
faae59e6d4
[ARTEMIS-565] Remove json.org stuff from license files as we have not depended on that for almost a year
2017-07-05 15:47:06 -04:00
Clebert Suconic
387fca584e
ARTEMIS-1269 replication won't finish synchronization
2017-07-01 00:48:33 -04:00
Howard Gao
06986e4ee1
ARTEMIS-1261 Adjust default confirmation-window-size for bridges
...
The default id-cache-size is 20000 and the default
confirmation-window-size is 1MB. It turns out the 1MB
size is too small for id-cache-size.
To fix it we adjust the confirmation-window-size to 10MB. Also
a test is added to guarantee it won't break this rule when this
default value is to be changed to any new value.
2017-06-29 12:56:16 -04:00
Francesco Nigro
a8356fb057
ARTEMIS-1246 Fixing compatibility issue
...
It fixes compatibility issues with JMS Core clients using the old address model, allowing the client to query JMS temporary queues too.
you would eventually see this issue when using older clients:
AMQ119019: Queue already exists
2017-06-27 14:23:36 -04:00
Andy Taylor
fbe27682a1
ARTEMIS-1237 - Hard coded timeout on Journal file open
...
Make timeout configurable
https://issues.apache.org/jira/browse/ARTEMIS-1237
2017-06-22 10:48:09 -04:00
Howard Gao
3d0896f87c
ARTEMIS-1240 Disconnect at client side on decoding error
...
When a broken packet arrives at client side it causes decoding error.
Currently artemis doesn't handle it properly. It should catch such
errors and disconnect the underlying connection, logging a proper
warning message
2017-06-21 10:25:34 -04:00
Michael Andre Pearce
44b7e455cb
ARTEMIS-1205: AMQP Shared Durable Subscriber incorrect behaviour
...
Use AcitveMQDestination for subscription naming, fixing and aligning queue naming in the process.
The change is behind a configuration toggle so to avoid causing any breaking changes for uses not expecting.
2017-06-19 12:44:13 +01:00
Dmitrii Tikhomirov
6ddeb96a8a
[ARTEMIS-1226] Log messages without prefixed id code in artemis-jms-client
2017-06-12 12:39:33 -05:00
Clebert Suconic
6314b17667
ARTEMIS-1187 fix checkstyle
2017-05-31 20:24:02 -04:00
Tomas Hofman
8eb5ce9ebd
ARTEMIS-1187 Incompatible version when recreating a session with older server
2017-05-31 11:46:35 -04:00
Michael Andre Pearce
c65ea783ea
ARTEMIS-1189 - Fix checkstyle violations post checkstyle upgrade
...
After upgrade of checkstyle, resolve violations
remove checkstyle override added as temp measure at point of upgrade forced by sevntu
2017-05-30 13:40:00 -04:00
Justin Bertram
5a9830af17
Revert "[ARTEMIS-1171] Improve log readability around clustering"
...
This reverts commit 744221dcb5
.
Broke o.a.a.a.t.i.m.QueueControlUsingCoreTest.testListDeliveringMessages
2017-05-25 10:53:42 -04:00
Clebert Suconic
15bb4d2c61
ARTEMIS-1176 Fixing reading from JMS Messages as core messages
2017-05-24 18:37:46 -04:00
Ingo Weiss
744221dcb5
[ARTEMIS-1171] Improve log readability around clustering
...
Issue: https://issues.apache.org/jira/browse/ARTEMIS-1171
2017-05-17 14:11:08 -04:00
Clebert Suconic
dc26ac96b4
ARTEMIS-1156: moving our collections on its own package
2017-05-12 10:06:05 -04:00
Clebert Suconic
02dcfe0468
ARTEMIS-1158 exposing Netty.channelID properly
2017-05-10 21:50:19 -04:00
Clebert Suconic
ce61d20f5a
[maven-release-plugin] prepare for next development iteration
2017-05-08 15:20:12 -04:00
Clebert Suconic
64e8f015ee
[maven-release-plugin] prepare release 2.1.0
2017-05-08 15:20:01 -04:00
Clebert Suconic
36c9659279
[maven-release-plugin] prepare for next development iteration
2017-05-05 22:11:09 -04:00
Clebert Suconic
7b5082639f
[maven-release-plugin] prepare release 2.1.0
2017-05-05 22:10:58 -04:00
Bernd Gutjahr
6017e305d9
ARTEMIS-1112: Added wait-for-activation option to shared-store-master config
...
Added a wait-for-activation option to shared-store master HA policies.
This option is enabled by default to ensure unchanged server startup behavior.
If this option is enabled, ActiveMQServer.start() with a shared-store master server will not return
before the server has been activated.
If this options is disabled, start() will return after a background activation thread has been started.
The caller can use waitForActivation() to wait until server is activated, or just check the current activation status.
2017-05-03 16:40:15 -04:00
Jeff Mesnil
15b913333f
[ARTEMIS-1043] Support IPv6 in NettyConnector
...
Wrap the host added to the HTTP request headers with IPV6Util.encloseHost
to ensure that load balancers that reads the header will have a valid
IPv6 address.
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1043
2017-05-03 12:31:00 -04:00
Aditya Sharad
52a5b85557
ARTEMIS-1135: Prevent overflow in `DayCounter`
...
Use `long` array for hourly counters instead of `int` array.
Prevents overflow when the number of new messages (a `long`) is added.
Fixes one of the "Implicit narrowing conversion in compound assignment"
alerts on https://lgtm.com/projects/g/apache/activemq-artemis/alerts .
2017-05-02 13:00:46 -04:00
Zoran Regvart
6db0c50272
Removes deprecated use and raw types
...
This cleans up the Netty implementation by replacing deprecated usage
and adds type parameters to raw types used.
2017-05-02 11:00:56 +02:00
Justin Bertram
7e0fedf52e
ARTEMIS-590 connector option to use default SSL context
2017-04-28 10:14:09 +01:00
Francesco Nigro
258d595972
ARTEMIS-1124 JDBC Network Timeout configuration
2017-04-20 19:43:10 +01:00
Clebert Suconic
c82ac631b8
NO-JIRA fixing NettySecurityClientTest
2017-04-18 15:14:21 -04:00
Clebert Suconic
cc22a0286b
ARTEMIS-1101 Fixing JMSFilter on AMQP
2017-04-11 16:07:33 -04:00
Francesco Nigro
da6b851c60
ARTEMIS-1098 Improve flow control while streaming large messages
2017-04-10 13:58:33 -04:00
Clebert Suconic
dbe1976b47
NO-JIRA: Using Env as the source of isTestEnv
2017-04-07 10:31:03 -04:00
Francesco Nigro
a0f369af05
ARTEMIS-1099 Force Netty EPOLL to be available only on Linux 64bit platforms
2017-04-07 10:28:22 -04:00
Clebert Suconic
911888e8d1
ARTEMIS-1089 Improving flow control on replication
2017-04-06 21:45:31 -04:00
Jeff Mesnil
ee50ce4042
[ARTEMIS-1043] Support IPv6 in NettyConnector
...
Call IPV6Util.encloseHost when creating the uri used to send the HTTP
ugrade request to ensure that IPv6 address are properly enclosed.
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1043
2017-04-06 19:57:21 -05:00
Clebert Suconic
cbe3621431
ARTEMIS-1096 Changing Global Max Size's default
2017-04-06 19:55:09 -05:00
Francesco Nigro
41a069a346
NO-JIRA Fixed log level test on NettyConnection
2017-04-06 13:23:49 -04:00
Clebert Suconic
f88311b04b
ARTEMIS-1025 small tweak on logs
2017-04-06 11:40:10 -04:00
Francesco Nigro
27cfb2d902
ARTEMIS-1025 Improve flow control on NettyConnection
2017-04-06 17:22:05 +02:00
Francesco Nigro
f53449b945
ARTEMIS-1095 Netty's WriteBufferWaterMark configuration via TransportConstants
2017-04-06 15:26:13 +02:00
Justin Bertram
073a280629
ARTEMIS-1092 Validated user + AMQP fix
...
When populate-validated-user = true AMQP messages can cause exceptions.
This feature isn't particularly applicable to AMQP so this commit
eliminates the exception and leaves the AMQP messages untouched
even if populate-validated-user = true. In other words,
populate-validated-user + AMQP is not supported.
2017-04-04 14:46:22 -05:00
Clebert Suconic
9bef242b74
ARTEMIS-1056 Adjusting Acceptor values
...
I have been doing tests with quiver at large message sizes
the tests would work really slowly without these fixes
2017-03-30 09:54:26 +01: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
Justin Bertram
b7e11f92b6
ARTEMIS-1064 AddressControl routingType fix
2017-03-28 15:30:52 -05:00
Armand Roelens
3ceb332866
ARTEMIS-1074 Acceptors/Connectors now start up when configured to use SSL and a password codec
2017-03-28 15:10:33 -05:00
Clebert Suconic
b395504e15
ARTEMIS-1077 Fixing Pool usage on InVM and RemotingConnection
2017-03-28 09:19:57 -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
Justin Bertram
427039ef38
ARTEMIS-1068 routingType + AMQP fixes
2017-03-24 15:15:10 -05:00
Clebert Suconic
096556f346
ARTEMIS-994 Tidy up on epoll
...
- improved logging
- renamed properties and tidy up on configurations
2017-03-23 18:16:48 -05:00
Michael André Pearce
a610748c09
ARTEMIS-994 Support Netty Native Epoll on Linux
...
The following changes are made to support Epoll.
Refactored SharedNioEventLoopGroup into renamed SharedEventLoopGroup to be generic (as so we can re-use for both Nio and Epoll)
Add support and toggles for Epoll in NettyAcceptor and NettyConnector (with fall back to NIO if cannot load Epoll)
Removal from code of PartialPooledByteBufAllocator, caused bad address when doing native, and no longer needed - see jira discussion
New Connector Properties:
useEpoll - toggles to use epoll or not, default true (but we failback to nio gracefully)
remotingThreads = same behaviour as nioRemotingThreads. Previous property is depreated.
useGlobalWorkerPool = same behaviour as useNioGlobalWorkerPool. Old property is deprecated.
New Acceptor Properties:
useEpoll - toggles to use epoll or not, default true (but we failback to nio gracefully)
useGlobalWorkerPool = same behaviour as useNioGlobalWorkerPool but for Epoll.
This closes #1093
2017-03-23 18:16:48 -05:00
Clebert Suconic
2c9b02806d
ARTEMIS-1056 Removing PartialPooledByteBufAllocator
2017-03-23 18:16:48 -05:00
Francesco Nigro
759d3b78d9
ARTEMIS-1036 Streaming huge messages would cause OME
2017-03-23 10:42:44 -04:00
Jeff Mesnil
bbba5617d6
[ARTEMIS-1057] Log AMQ214023 at DEBUG level
...
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1057
2017-03-22 09:55:40 -05:00
Clebert Suconic
0bfb39bfb5
ARTEMIS-1056 Performance improvements on AMQP
2017-03-22 09:55:02 -05:00
Clebert Suconic
65ac7f700b
ARTEMIS-1052 Proper Expiry over AMQP
2017-03-20 18:33:31 -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
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
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
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
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
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
Howard Gao
392fd08614
ARTEMIS-1007 Missing management annotations
...
There are some operations in ActiveMQServerControl that don't have
@Parameter annotations. That will make clients like JBoss Jon failed
to invoke those operations.
Also in AddressControl there is a typo in sendMessage. The second
parameter's name should be 'type' not 'headers'.
2017-03-01 08:30:11 -06:00
Martyn Taylor
dc40f60e6b
ARTEMIS-1002 Use default PooledBufferAllocator in ActiveMQBuffers
2017-02-27 14:23:29 -05:00
Justin Bertram
16285ba548
ARTEMIS-993 removing unreachable code
2017-02-24 13:36:23 -06: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
Clebert Suconic
41737c8f3c
Revert "NO-JIRA Remove Property shouldn't invalidate buffer if not found"
...
This reverts commit cf71b7292a
.
2017-02-17 11:52:07 -05:00
Clebert Suconic
cf71b7292a
NO-JIRA Remove Property shouldn't invalidate buffer if not found
2017-02-16 21:03:38 -05:00
Clebert Suconic
f38d5c7dbc
ARTEMIS-969 Unecessary buffer expansion on message delivery
2017-02-15 13:49:00 -05:00
Justin Bertram
168ea70149
ARTEMIS-953 small syntax error
2017-02-14 20:20:11 -05:00
Jeff Mesnil
992dc2bc1b
[ARTEMIS-963] Prevent ClassCastException in ActiveMQChannelHandler
...
When HTTP Upgrade is enabled, update Netty's pipeline only after the
HTTP Upgrade handshake is successful *and* the trailing
EMPTY_LAST_CONTENT is received.
Otherwise, this EMPTY_LAST_CONTENT is handled by
ActiveMQChannelHandler which is only expected to handle ByteBuf
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-963
2017-02-14 11:45:26 -06:00
Justin Bertram
ff3e75d148
NO-JIRA move RoutingType to different package
2017-02-13 09:50:41 -06:00
Clebert Suconic
452330153e
NO-JIRA: MessageImpl::forceCopy is no longer used
2017-02-09 19:39:54 -05:00
Justin Bertram
2bda3b2b4f
ARTEMIS-953 Refactor JMX ObjectNames
2017-02-08 15:00:20 -06: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
Jeff Mesnil
dd052026e6
[ARTEMIS-931] Fix HTTP Upgrade Connection
...
* Fix isEquivalent() method to take into account the activemqServerName
property when httpUpgradeEnabled is true. Two ActiveMQ server hosted on
the same app server may have the same host and port (corresponding to
the Web server HTTP port). The activemqServerName property is used to
distinguish them.
* Iron out HTTP upgrade handler so that the latch is always count down
and the channel context is closed unless the handshake was completed
successfully
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-931
2017-02-07 10:03:36 +01:00
Martyn Taylor
3900cb0ec7
ARTEMIS-917 Only return body of retained message after reboot
2017-02-06 13:33:26 -06:00
Jeff Mesnil
5a59cd19f8
[ARTEMIS-931] Improve HTTP Upgrade connection
...
If the object received is not an expected HttpResponse, close the
ChannelHandlerContext and countdown the latch
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-931
2017-01-20 15:22:25 +01:00
Justin Bertram
113b28577c
ARTEMIS-873 support byte notation in XML config
2017-01-19 10:32:38 -05: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
7a7f335271
ARTEMIS-962 Adding test for CME when parsing system properties and a few tweaks
2017-01-18 16:18:05 -05:00
Martyn Taylor
118c272c77
ARTEMIS-560 Add Support For JDBC Paging
2017-01-17 14:58:53 -05:00
Justin Bertram
68c4e50847
ARTEMIS-927 mask password in CreateSessionMessage
2017-01-17 11:41:29 -06: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
Clebert Suconic
9f9ffc1ff5
ARTEMIS-913 Slow consumer detection not working when paging
2017-01-09 12:34:13 -05:00
Andy Taylor
6af85a2cc4
couple of small changes to JMX mbeans - no jira
2017-01-09 13:40:14 +00: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
Clebert Suconic
b9a7e152f7
ARTEMIS-900 fix compatibility after address changes
2016-12-21 19:40:35 -05:00
Clebert Suconic
1bed2c9512
NO-JIRA cli improvements
2016-12-16 18:46:46 -06:00
jbertram
49f1c9935c
NO-JIRA move divert specific routing types
2016-12-15 17:53:50 -05:00
Francesco Nigro
0a4d1b38c8
ARTEMIS-878: Improved CLI commands
2016-12-15 13:41:30 +00:00
jbertram
3150759806
ARTEMIS-880 use built-in prefixing for STOMP
2016-12-13 15:05:43 -06:00
Clebert Suconic
66e7e6645d
ARTEMIS-882 fixing checkstyle
2016-12-09 16:58:02 -05: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
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
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
Andy Taylor
74d0a1a818
ARTEMIS-784 Add new JMX methods and update JMX API
2016-12-09 18:43:15 +00:00
Martyn Taylor
a20b23bf37
ARTEMIS-787 Update CORE Protocol/Client Packets
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
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
402f25be7d
ARTEMIS-473/ARTEMIS-863 Detect network failures
2016-11-23 10:14:14 -06:00
Shaun Appleton
f570b5aa17
ARTEMIS-859 Add BACKLOG_PROP_NAME on the TransportConstants list
2016-11-21 11:22:29 -05:00
Clebert Suconic
9009d12b5a
ARTEMIS-851 Allowing broker configuration to be changed through system properties
...
This will use Bean Utilities to change propertyes at the main configuration.
2016-11-16 14:41:18 +00:00
Howard Gao
4691cbe882
ARTEMIS-842 JMSMessageID doesn't appear to work in selector
2016-11-08 09:52:12 +08:00
Clebert Suconic
df4c3c8584
ARTEMIS-840 removing password log that was forgotten
2016-11-07 15:27:17 -05: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
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
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
e0021252ee
ARTEMIS-829 Removing messages re-encoding
...
https://issues.apache.org/jira/browse/ARTEMIS-829
2016-10-28 16:54:58 -04:00
Ulf Lilleengen
1b7033a20e
ARTEMIS-824: Add management routines for connector services
2016-10-26 10:11:11 +02:00
Ulf Lilleengen
b2a5fe19d3
ARTEMIS-814: Notify connection listener of connection created
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
Clebert Suconic
e44c99d884
ARTEMIS-809 Removing Large message body from toString()
2016-10-20 11:19:13 -04: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
Jeff Mesnil
c1ecddcb71
[ARTEMIS-803] Fix colocated backups with http-upgrade acceptor
...
* Do not offset ports for Netty connector/acceptor with http-upgrade
enabled.
* Pass the name of the ActiveMQ server to the HTTP request to initiate
the Upgrade so that the HTTP endpoint on the app server can find the
correct ActiveMQ broker that must handle the upgrade.
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-803
2016-10-18 09:00:36 -04:00
Paul Gallagher
fcb70f3f60
ARTEMIS-779 upgrade to netty 4.1.5.Final
2016-10-10 23:24:56 +02:00
Ville Skyttä
ddd1559fbe
javadoc: Fix doclint empty <p> warnings
2016-10-10 10:02:49 +02:00
Martyn Taylor
95c4fdd408
ARTEMIS-762 Reflect management changes in AMQP protocol
2016-10-07 10:38:01 -04:00
Ville Skyttä
082b75bb3d
More use of try-with-resources
2016-09-30 13:17:26 -04:00
Clebert Suconic
ec48f9ed00
ARTEMIS-765 Improve Checkstyle
2016-09-30 11:12:09 -04:00
Ville Skyttä
1a4fe92802
Fix WaitNotInLoop issues flagged by new Error Prone
2016-09-27 14:28:29 +03: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
Ville Skyttä
bd5103c48e
ARTEMIS-754 Fix JsonUtil.addTo*() null add
2016-09-26 13:28:16 -04: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
Dmitrii Tikhomirov
6b8d52295e
ARTEMIS-715 messages could be sent to wrong queue
...
In rare circumstances MessageProducer can send a message
to wrong queue
2016-09-19 13:49:40 -04:00
Dmitrii Tikhomirov
62f90eaf81
ARTEMIS-715 messages could be sent to wrong queue
...
In rare circumstances MessageProducer can send a message
to wrong queue
2016-09-08 09:26:11 -04: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
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
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
Clebert Suconic
858d7a1a02
ARTEMIS-697 Making JChannelManager a singleton, and fixing tests
2016-08-24 18:08:17 -04:00
Ulf Lilleengen
bf4796c5d3
ARTEMIS-697 Avoid self-discovery
...
This avoids an issue where a broker would discover itself, causing an unexpected behavior when using
core bridges to forward messages:
* Make channel manager a singleton ensuring that only one channel with a given name exists
* Ensure that messages are marked with NON_LOOPBACK to avoid receiving messages originating from
itself
2016-08-24 17:06:55 -04:00
Clebert Suconic
92c5d5cd50
ARTEMIS-684 Random is not equaly distributed among different VMs
2016-08-23 19:36:54 -04:00
bayern39
2bff3d2b9b
fixing typos
2016-08-23 17:14:25 -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
jbertram
cfbe06f3bc
ARTEMIS-656 support host verification for SSL cert
2016-08-15 13:58:25 -04:00
Clebert Suconic
53bb3ea183
ARTEMIS-542 removing excessive warning from codebase
2016-08-10 16:10:57 -04: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
jbertram
1ef9e74f14
ARTEMIS-601 load runtime security cfg file changes
2016-08-07 20:17:56 -05:00
bayern39
a741642a48
[ARTEMIS-642] Disable slow client reconnecting with KILL slow client policy
2016-08-03 18:39:57 -04:00
Clebert Suconic
a5360e42df
ARTEMIS-565 another JSON fix
2016-08-01 13:54:04 -04:00
jbertram
7917f4d2f2
ARTEMIS-565 JSON fixes
2016-08-01 10:21:31 -05:00
Ville Skyttä
adef9e4133
Add missing @Override annotation
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
Clebert Suconic
fccf1c8243
ARTEMIS-565 Dealing with ClassLoading issues on managements. Caching provider loaded
2016-07-29 13:58:37 -04:00
jbertram
4f95c8a64a
ARTEMIS-405 more bits of JMX doc
2016-07-28 15:18:11 -04:00
Clebert Suconic
85878513a5
This closes #679
2016-07-28 12:32:36 -04:00
jbertram
1ca5b19a10
ARTEMIS-565 additional JSON fixes
2016-07-28 11:33:19 -04:00
Ville Skyttä
ac885db706
Add missing @Override annotation
2016-07-28 18:13:41 +03:00
Ville Skyttä
429e1e84d4
Remove unnecessary casts
2016-07-28 18:12:59 +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
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
Clebert Suconic
b7efd5db3b
ARTEMIS-565 A few fixes around the JSON change
2016-07-26 14:17:45 -04:00
jbertram
5d71ffc5e6
ARTEMIS-587 add more JSON JMX mgmt methods to core
2016-07-26 11:39:19 -04:00
Ville Skyttä
aed49b3894
Spelling fixes
2016-07-26 14:24:45 +03: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
Clebert Suconic
1c56aa9bef
ARTEMIS-628 Adding back old constructor for API compatibility
2016-07-25 14:01:30 -05:00
Martin Styk
c9dfbad69c
ARTEMIS-651 Typo in word "topology" in class ServerLocatorImpl
2016-07-25 14:26:47 -04:00
jbertram
577620533d
Fix ByteBuffer regression from Netty upgrade
...
Using array() is a bit dangerous as it's an optional part of any
ByteBuffer implementation. This new method will deal with various
ByteBuffer implementations appropriately.
2016-07-25 16:26:21 +01:00
Martyn Taylor
bed73f57b3
ARTEMIS-641 Enable filtering on address in server consumer
2016-07-21 14:47:20 -05: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
jbertram
e9db9c286d
ARTEMIS-628 add BROWSE role
2016-07-12 16:21:57 -05: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
Ville Skyttä
f1dc94534f
Combine identical catch blocks
2016-07-05 14:18:01 -04:00
Ville Skyttä
149216e8ec
Remove unnecessary null checks and assignments
2016-07-05 14:18:01 -04:00
Clebert Suconic
ace11835c9
ARTEMIS-597 Adding Logging manager to a few poms
...
this is making a few tests to show an Exception when they start
2016-06-29 16:27:47 -04:00
jbertram
e9733a6223
ARTEMIS-569 add missing method
2016-06-27 18:23:45 -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
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
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
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