Clebert Suconic
2e6176a693
ARTEMIS-1495 Removing flushes from codebase
...
Instead of flushing we just need to make sure there are no more calls into
page executors as we stop the PageManager.
This will avoid any possible starvations or deadlocks here.
2017-11-09 11:58:36 -05:00
Clebert Suconic
b0c83073e2
NO-JIRA Using interrupts on ThreadRuleCheck
...
This would speedup cleanup of eventual executors and stuff like that
2017-11-03 16:03:36 -04:00
Justin Bertram
8703d9d51d
[maven-release-plugin] prepare for next development iteration
2017-11-01 00:38:57 -05:00
Justin Bertram
ec63189a0a
[maven-release-plugin] prepare release 2.4.0
2017-11-01 00:38:56 -05:00
Justin Bertram
a44b9d5edf
[maven-release-plugin] prepare for next development iteration
2017-10-31 12:09:43 -05:00
Justin Bertram
34a7431d1b
[maven-release-plugin] prepare release 2.4.0
2017-10-31 12:07:55 -05:00
Clebert Suconic
2bf690e21b
ARTEMIS-1489 Adding Timed Buffer into Critical Analyzer
2017-10-31 08:33:44 -05:00
Erich Duda
fb76d9aeb0
ARTEMIS-1485 ActiveMQTestBase.threadDump should print information about locks and deadlocks
...
Improved implementation of ActiveMQTestBase.threadDump which uses ThreadMXBean
for getting information about threads including locks and deadlocks.
2017-10-31 08:04:11 +01:00
Clebert Suconic
1af6d986a5
ARTEMIS-1447 Reuse thread pools on JDBC Locks
...
I had moved the initialization of the thread pools for that..
I also have changed the CrticialAnalyzer to use the same pools as part of this
2017-10-27 22:32:53 -04:00
Clebert Suconic
bc97720bf2
NO-JIRA small doc on ActiveMQScheduledComponent
2017-10-26 15:38:37 -04:00
Martyn Taylor
76b1f9cf8f
ARTEMIS-1482 Catch malformed SimpleString
2017-10-25 10:22:01 -05:00
ederign1
56e2592e58
[ARTEMIS-1477] Removing netty-all dependency from clients
2017-10-23 20:24:33 -04:00
Clebert Suconic
c66a7975e6
ARTEMIS-1462 Fixing QueueControlTest
2017-10-18 12:21:47 -04:00
Francesco Nigro
40f49ef0bc
ARTEMIS-1462 Allow ActiveMQScheduledComponent initial delay configuration
...
It contains:
- an improved documentation of the constructors
- the initial delay configuration
2017-10-16 17:33:15 -04:00
barreiro
f8b758d14b
ARTEMIS-1451 - Remove synchronization on ActiveMQThreadPoolExecutor
2017-10-05 21:30:31 +01:00
Clebert Suconic
178d403117
NO-JIRA Adding CriticalAnalyzer test on HALT
2017-09-29 11:35:47 -04:00
Michael Andre Pearce
b53b3acdb4
ARTEMIS-1439 Upgrade Netty to 4.1.16
...
Upgrade netty.
Remove tacticle fix for https://issues.apache.org/jira/browse/ARTEMIS-1099
as now fixed/handled upstream in netty from 4.1.16 https://github.com/netty/netty/issues/7150
2017-09-28 13:51:00 -05:00
Clebert Suconic
796c4f2c4e
ARTEMIS-1441 Critical Analyzer Check Period not properly parsed
2017-09-27 20:59:05 -04:00
Timothy Bish
a07cb45222
ARTEMIS-1400 Fix some minor issues spotted with FindBugs
...
Remove a bit of dead code, and invert two string tests that were testing
for null after comparing the value to empty string (NPE scenario).
2017-09-11 12:08:02 -04:00
Clebert Suconic
d414a1968b
ARTEMIS-1401 fixing test (NPE on EmptyCriticalAnalyzer)
2017-09-07 21:30:34 -04:00
Francesco Nigro
9cf222be11
ARTEMIS-1393 CriticalAnalyzer timeout uses System::currentTimeMillis
...
The timeout logic is changed to use System::nanoTime, less sensible to OS clock changes.
The volatile set on CriticalMeasure are changed with cheaper lazySet.
2017-09-07 10:11:35 -04: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
Justin Bertram
714655a051
NO-JIRA improve password masking doc & code
...
Move password masking documentation into its own chapter and tweak it a
bit for clarity and comprehensiveness.
2017-09-05 16:40:38 -04: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
bdf1061058
ARTEMIS-1357 TypedProperties encode/decode improvement
2017-08-22 22:17:39 -04:00
Clebert Suconic
012fe58b2c
ARTEMIS-1333 fixing test, cannot flush itself from Runnable
2017-08-09 16:02:10 -04: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
8bc15b1199
ARTEMIS-1334 Scheduled component shouldn't be synchronized
2017-08-09 15:18:54 -04:00
Clebert Suconic
1ace306121
ARTEMIS-1328 Improving direct delivery check
...
Instead of wait to flush an executor,
I have added a method isFlushed() which will just translate to the
state on the OrderedExecutor.
In the case another executor is provided (for tests) there's a delegate
into normal executors.
2017-08-08 14:00:58 -04:00
Clebert Suconic
f16af75354
ARTEMIS-1324 Deadlock detection and health check of critical components
2017-08-07 18:40:03 -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
Dmitrii Tikhomirov
28087ad4af
[ARTEMIS-1293] Log messages without prefixed id code in artemis-commons
2017-07-17 10:34:06 -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
Clebert Suconic
89e84e1320
ARTEMIS-1269 Fixing blocked replication
...
If replication blocked anything on the journal
the processing from clients would be blocked
and nothing would work.
As part of this fix I am using an executor on ServerSessionPacketHandler
which will also scale better as the reader from Netty would be feed immediately.
2017-07-06 19:04:48 -04:00
Armand Roelens
1ecbd97cd4
ARTEMIS-1252 Add service loading of password codec to obtain its implementation from the app's root context
2017-06-29 16:00:00 -04:00
Clebert Suconic
f407d86f0f
ARTEMIS-1253 Fixing NetworkHealthCheck being shutdown after failures
2017-06-26 16:15:39 -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
Ville Skyttä
fe505b37b4
Spelling fixes
2017-05-30 10:32:41 +03:00
Michael Andre Pearce
a4e19b432b
ARTEMIS-1164: NameNotFoundException when using java.naming.provider.url to set url via jndi
...
Support setting PROVIDER_URL on initial context to create default connection factories.
2017-05-17 10:28:18 -05:00
Clebert Suconic
f1f4d4dec3
ARTEMIS-1156 Adding deprecated TypedProperties extending new location
...
We recently moved TypedProperties under ./util/collections
This is exposed through Messages so we added this as a deprecated option.
We also had to add this class on a separate commit from dc26ac96b4
to preserve git history on the new one.
2017-05-12 10:06:20 -04:00
Clebert Suconic
dc26ac96b4
ARTEMIS-1156: moving our collections on its own package
2017-05-12 10:06:05 -04:00
Michael André Pearce
c1d55aa84f
ARTEMIS-1156: FIX: Long Autoboxing occurring on Hot Path
...
Building on ARTEMIS-905 JCtools ConcurrentMap replacement first proposed but currently parked by @franz1981, replace the collections with primitive key concurrent collections to avoid auto boxing.
The goal of this is to reduce/remove autoboxing on the hot path.
We are just adding jctools to the broker (should not be in client dependencies)
Like wise targeting specific use case with specific implementation rather than a blanket replace all.
Using collections from Bookkeeper, reduces outside tlab allocation, on resizing compared to JCTools, which occurs frequently on testing.
2017-05-12 10:05:51 -04:00
Justin Bertram
5cb5c8a6dc
ARTEMIS-1154 isolated backup fails over
...
Even if there is no address/url configured for the NetworkHealthCheck
an isolated backup will still fail-over potentially causing split-brain.
2017-05-09 14:43:17 -05: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
Francesco Nigro
21c9ed85cf
ARTEMIS-1151 Adapting TimedBuffer and NIO Buffer Pooling
...
- NIO/ASYNCIO new TimedBuffer with adapting batch window heuristic
- NIO/ASYNCIO improved TimedBuffer write monitoring with
lightweight concurrent performance counters
- NIO/ASYNCIO journal/paging operations benefit from less buffer copy
- NIO/ASYNCIO any buffer copy is always performed with raw batch copy
using SIMD instrinsics (System::arrayCopy) or memcpy under the hood
- NIO improved clear buffers using SIMD instrinsics (Arrays::fill) and/or memset
- NIO journal operation perform by default TLABs allocation pooling (off heap)
retaining only the last max sized buffer
- NIO improved file copy operations using zero-copy FileChannel::transfertTo
- NIO improved zeroing using pooled single OS page buffer to clean the file
+ pwrite (on Linux)
- NIO deterministic release of unpooled direct buffers to avoid OOM errors
due to slow GC
- Exposed OS PAGE SIZE value using Env class
2017-05-08 11:55:28 -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
dOkI
18bc7e1a2e
ARTEMIS-874: ThreadGroup memory leak
2017-05-05 14:49:47 -04:00
Clebert Suconic
23b3d2182c
ARTEMIS-1093 Moving FQQN methods into CompositeAddress
2017-04-23 16:01:20 -04:00
Howard Gao
f344c1ebaf
ARTEMIS-1093 Full qualified queue name support
...
Broker should support full qualified queue names (FQQN)
as well as bare queue names. This means when clients access
to a queue they have two equivalent ways to do so. One way
is by queue names and the other is by FQQN (i.e. address::qname)
names. Currently only receiving is supported.
2017-04-23 16:01:20 -04:00
Clebert Suconic
31d78eddf1
ARTEMIS-1118 IO callbacks on AMQP
2017-04-18 11:49:25 -04:00
Clebert Suconic
ddacda5062
ARTEMIS-1114 Missing records after compacting
...
This is fixing an issue introduced on 4b47461f03
(ARTEMIS-822)
The Transactions were being looked up without the readLock and some of the controls for Read and Write lock
were broken after this.
2017-04-14 01:13:46 -04:00
Clebert Suconic
f609884186
Revert "ARTEMIS-1093 Full qualified queue name support"
...
Testsuite won't complete with this commit.
Reerting it for further evaluation.
This reverts commit a9a3c47808
.
2017-04-12 16:53:40 -04:00
Howard Gao
a9a3c47808
ARTEMIS-1093 Full qualified queue name support
...
Broker should support full qualified queue names (FQQN)
as well as bare queue names. This means when clients access
to a queue they have two equivalent ways to do so. One way
is by queue names and the other is by FQQN (i.e. address::qname)
names. Currently only receiving is supported.
2017-04-12 09:59:28 +01: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
Bernd Gutjahr
5a31e70353
ARTEMIS-1078 Improving ActiveMQThreadPoolExecutor
...
This is now considering only threads waiting for the queue to get new tasks as idle.
The thread pool maintained a counter of active threads, but that counter was increased
too late in the beforeExecute method. Submitting a task created a new thread.
If now a second task was submitter before the new thread had started to execute it's task,
the second task was queued without creating a 2nd thread. So the second task was only
executed after the first task had been completed - even if the thread pool's
maximum number of thread had not been reached.
This fix now maintains the delta between the number those threads that are currently waiting
in the queue's poll or take methods as idle threads, and the number of queued tasks.
It creates new threads unless there are enough idle threads to pick up all queued tasks.
This closes #1144
2017-03-31 19:01:54 -04:00
Martyn Taylor
8760b3ddfd
ARTEMIS-1087 Make InVM buffer pooling configurable
2017-03-31 18:56:07 +01: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
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
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
Martyn Taylor
dc40f60e6b
ARTEMIS-1002 Use default PooledBufferAllocator in ActiveMQBuffers
2017-02-27 14:23:29 -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
Howard Gao
e09be4864a
ARTEMIS-988 Regression: web tmp dir not cleaned up
...
Due to recent changes, the web component is shutdown by the
server, but the shutdown flag is lost so the web component's
cleanup check method is not get called and the web's tmp
dir is left there after user stopped the broker (control-c).
The fix is add a suitable API to allow passing of the
flag so the web component can make sure its tmp dir gets
cleaned up properly before exiting the VM.
2017-02-23 12:39:50 +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
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
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
15d693dd4e
ARTEMIS-943 update/doc XML import/export
2017-02-06 15:09:55 -06: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
Howard Gao
07ea08a845
ARTEMIS-915 WebComponent stopped when backup failback
2017-01-12 10:11:10 +08:00
jbertram
02f5f5c01d
ARTEMIS-789 add tests; fix bugs from tests
...
Add some routing and createQueue tests to deal with new semantics.
Also fix a few bugs exposed by the new tests.
2016-12-12 17:01:52 -06:00
Martyn Taylor
6682072da6
Major Version Bump 2.0.0 After Major Arch Change
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
Martyn Taylor
ec8f06138c
ARTEMIS-878 Update the CLI to incorporate Addresses and new Queue
2016-12-09 18:43:15 +00:00
Martyn Taylor
89e6ec36bb
ARTEMIS-780 Implement MaxConsumers and DeleteOnNoConsumers
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
43634c098b
ARTEMIS-863 parsing spaces properly on network health addresses and avoiding loopback on configuration
2016-11-29 15:24:06 -05:00
Dmitrii Tikhomirov
3995319dca
ARTEMIS-865 Remove e.printStackTrace() from code
2016-11-23 11:15:54 -05:00
Clebert Suconic
402f25be7d
ARTEMIS-473/ARTEMIS-863 Detect network failures
2016-11-23 10:14:14 -06:00
Francesco Nigro
3281698f9f
ARTEMIS-841 Hash Processors lock free lazy singleton instantiation
2016-11-07 13:47:22 -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
5965a45894
ARTEMIS-786 Using RandomUtil instead of SecureRandom..
...
This was introducing several performance hits. I was running the examples and they were not completing at all on my environment.
2016-11-02 19:00:13 -04:00
Howard Gao
cd7b838952
ARTEMIS-786 Store user's password in hash form by default
...
- user passwords for PropertiesLoginModule stored using PBKDF2 algothrim
by default
- implements cli user command to help create and manage user/roles
- adds a mask cli command to mask passwords
2016-11-02 14:59:00 -04:00
Clebert Suconic
8b25f09c3b
ARTEMIS-835 speed up test
2016-11-02 13:43:51 -04:00
Howard Gao
8c1ec12b33
ARTEMIS-835 Quick restart of broker will leave tmp dir dirty
...
- Added a timeout wait on each web context's tmp dir in
WebServerComponent.stop() method.
2016-11-02 13:43:51 -04: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
ec48f9ed00
ARTEMIS-765 Improve Checkstyle
2016-09-30 11:12:09 -04:00
Clebert Suconic
a838bf0479
ARTEMIS-751 Simplification of the AMQP implementation
...
Since we don't need client implementations any longer, given the maturity level of
qpid jms, these classes can go, as a result a lot of the interfaces can be removed.
As part of this I am removing proton-plug, and reorganizing the packages in a way I think it
makes more sense and easier to other developers to understand and maintain it.
https://issues.apache.org/jira/browse/ARTEMIS-751
2016-09-27 09:29:40 -04:00
Ville Skyttä
1a4fe92802
Fix WaitNotInLoop issues flagged by new Error Prone
2016-09-27 14:28:29 +03:00
Ville Skyttä
02a7ac2949
Add missing @Overrides
2016-09-21 16:31:14 -04:00
Clebert Suconic
9cea1598d6
Improving ScheduledComponent to avoid bursts after long waits
2016-09-15 16:02:49 +01:00
Ville Skyttä
7bff07d5b1
Add missing @Overrides
2016-09-14 13:22:20 +03:00
Clebert Suconic
f8278ec99c
ARTEMIS-727 Improving Thread usage on JDBC
...
https://issues.apache.org/jira/browse/ARTEMIS-727
2016-09-12 14:32:40 -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
Martin Styk
d5eaccf3ba
ARTEMIS-709 Possible NPE on UUIDGenerator.getAllNetworkInterfaces()
2016-08-31 13:41:47 +02:00
Ville Skyttä
d5242978d5
for and while loop to foreach conversions
2016-08-25 14:22:32 -04:00
Clebert Suconic
92c5d5cd50
ARTEMIS-684 Random is not equaly distributed among different VMs
2016-08-23 19:36:54 -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
Clebert Suconic
ad21b5b70b
ARTEMIS-591 Fixing typos
2016-08-15 22:04:38 -04:00
Clebert Suconic
18563e4539
ARTEMIS-591 Improvement on Timeout check
2016-08-15 14:09:37 -04:00
Ville Skyttä
330c65ba35
Remove unnecessary @SuppressWarnings("unchecked")
2016-08-09 11:24:22 +01:00
Clebert Suconic
579d6226aa
ARTEMIS-671 Returning messages after connection killed, and validating usage of reconnect
2016-08-09 11:23:46 +01:00
Martyn Taylor
06fb4a1234
ARTEMIS-667 Make AMQP Exceptions extend ActiveMQException
2016-08-05 15:29:01 +01:00
Ville Skyttä
f981dbd7cf
Avoid NPE if deleteDirectory fails to list files to clean up
2016-07-28 15:25:45 -04: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
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
Ville Skyttä
33a51223b0
Remove redundant type arguments
2016-06-14 20:50:21 -04: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
Clebert Suconic
10dfe97ec0
Adding JORAM Tests for AMQP with a few fixes around the protocol manager for JMS
2016-05-25 09:41:40 -04:00
Erich Duda
a622fa7443
ARTEMIS-518 - Improvement of default thread factory
2016-05-09 14:33:41 -04: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
Ville Skyttä
487b09fccc
Replace some manual array copies with System.arraycopy
2016-04-11 16:52:10 -04:00
Ville Skyttä
51185f5fb3
Fix URIFactory.removeSchema()
2016-04-10 09:01:22 +03:00
Jiri Danek
2788eaa1bf
Put parameters into query string in a predictable order
...
Previously, the order of query parameters depended on the iteration order of items in a Set.
This order is undefined for some Sets. Nevertheless, unit test for createQueryString expected
that query parameters are in a particular order.
2016-04-04 11:08:18 -05:00
Clebert Suconic
ee6a03295f
ARTEMIS-437 Improving lock over certain protocols
...
Avoiding deadlocks between acks and other factors
2016-03-16 08:23:58 -04:00
Clebert Suconic
26fe21baa4
ARTEMIS-437 Large Message send should be interrupted during failover
2016-03-11 13:13:32 -05:00
Clebert Suconic
9ebc6786b6
ARTEMIS-401 Refactoring Acceptors and ProtocolManager to support parameters
...
https://issues.apache.org/jira/browse/ARTEMIS-401
2016-02-18 10:14:26 -06:00
Clebert Suconic
e5652d39bc
ARTEMIS-361 Fixing URI Encoding of Connection Factory properties
...
https://issues.apache.org/jira/browse/ARTEMIS-361
2016-01-25 17:48:20 -05:00
Ville Skyttä
3f20e0d19a
Remove redundant type parameters
2016-01-25 12:10:25 -05:00
Ville Skyttä
3e783a1c2f
Include key name in property conversion exception messages
2016-01-25 11:23:07 -05:00
Ville Skyttä
ca34f7fbb2
Move commons util tests to commons
2016-01-25 11:23:07 -05:00
Martyn Taylor
4922a7618a
Bump to next version to 1.3.0-SNAPSHOT
2016-01-20 17:25:07 +00:00
Clebert Suconic
3f23c9916e
ARTEMIS-347 - supporting URIs on the cluster connection
2016-01-19 17:35:12 -05:00
Clebert Suconic
dddd0a1efe
https://issues.apache.org/jira/browse/ARTEMIS-345 fixing URI for inVM throwing a log.warn
2016-01-13 17:48:23 -05:00
Clebert Suconic
96849a42b7
ARTEMIS-332 - Duplicate delivery over Bridges under OME scenarios, paging and other failures
...
https://issues.apache.org/jira/browse/ARTEMIS-332
2016-01-04 20:49:28 -05:00
Martyn Taylor
2c430e597b
[maven-release-plugin] prepare for next development iteration
2016-01-04 11:50:36 +00:00
Martyn Taylor
f182c806b6
[maven-release-plugin] prepare release 1.2.0
2016-01-04 11:49:58 +00:00
Martyn Taylor
5f32e6575c
[maven-release-plugin] prepare for next development iteration
2016-01-04 09:24:34 +00:00
Martyn Taylor
150c5d87aa
[maven-release-plugin] prepare release 1.2.0
2016-01-04 09:19:35 +00:00
Paul Gallagher
c1f609c161
Fix for missing dependencies at the top level pom
2015-12-22 15:38:51 +00:00
Ville Skyttä
93a53e1cda
Fix UUIDGenerator.getHardwareAddress on recent Java versions
...
Enable related tests on all Java versions and drop < 1.7 support code.
2015-12-21 21:47:15 -05:00
Martyn Taylor
90c9469701
[maven-release-plugin] prepare for next development iteration
2015-12-17 17:03:40 +00:00
Martyn Taylor
df61224d2d
[maven-release-plugin] prepare release 1.2.0
2015-12-17 17:01:58 +00:00
Ville Skyttä
6288f37064
Remove unused imports
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ä
25ae472455
Add missing @Override annotations
2015-12-06 01:27:35 +02:00
Christian Schneider
be9dad3f2b
OSGi support based on branch from gnodet
2015-11-24 11:12:10 +01:00
jbertram
0c407922a8
ARTEMIS-261 cert-based auth
2015-11-04 15:56:33 -05:00
jbertram
4d54e43ddc
ARTEMIS-298 IPv6 escape broken
...
Previously we were using a long regular expression to detect whether or not a
given host was IPv6. However, this was brittle and hard to read. Since we are
already shipping Google Guava in the distribution it made sense to use the
Guava method com.google.common.net.InetAddresses#isInetAddress rather than
the regular expression.
2015-11-04 10:28:53 -06:00
Ivo Studensky
8a2ecff4fd
ARTEMIS-274 ActiveMQThreadFactory has to be constructed within doPrivileged block
2015-10-22 09:30:14 -04:00
Clebert Suconic
6bf1241628
ARTEMIS-257 cleaning up dependencies on artemis-core-client
2015-10-13 10:44:49 -04:00
Martyn Taylor
bb2c890803
[maven-release-plugin] prepare for next development iteration
2015-09-15 15:43:44 +01:00
Martyn Taylor
63ea448728
[maven-release-plugin] prepare release 1.1.0
2015-09-15 15:41:37 +01:00
Martyn Taylor
6408fd0357
[maven-release-plugin] prepare for next development iteration
2015-09-11 19:01:57 +01:00
Martyn Taylor
c512f12a34
[maven-release-plugin] prepare release 1.1.0
2015-09-11 19:01:19 +01:00
Martyn Taylor
fec6546480
[maven-release-plugin] prepare for next development iteration
2015-09-08 16:39:59 +01:00
Martyn Taylor
4d0b15b043
[maven-release-plugin] prepare release 1.1.0
2015-09-08 16:29:09 +01:00
Martyn Taylor
82f6a88d59
[maven-release-plugin] prepare for next development iteration
2015-09-07 10:02:01 +01:00
Martyn Taylor
8c1e0e15fc
[maven-release-plugin] prepare release 1.1.0
2015-09-07 10:01:10 +01:00
Martyn Taylor
a2aa18c123
[maven-release-plugin] prepare for next development iteration
2015-09-04 20:20:13 +01:00
Martyn Taylor
a5decb659e
[maven-release-plugin] prepare release 1.1.0
2015-09-04 20:19:11 +01:00
Martyn Taylor
4576ccea08
[maven-release-plugin] prepare for next development iteration
2015-09-04 19:48:52 +01:00
Clebert Suconic
ab618d295d
binding UDP to localhost so the testsuite will work on environments where UDP is not available due to firewal constraints
...
The server would need to have loopback routes for UDP for this to work.
2015-09-03 18:06:10 -04:00
Clebert Suconic
9794569675
enclosing IPV6 in the case of openWire as well
2015-08-27 15:56:43 -04:00
Clebert Suconic
1dae99746b
ARTEMIS-204 Improvements on OpenWire
...
https://issues.apache.org/jira/browse/ARTEMIS-204
by consequence this will also fix any possible issues with AMQP
2015-08-13 20:39:01 -04:00
Clebert Suconic
21bf440636
This commit has improvements on the examples including:
...
https://issues.apache.org/jira/browse/ARTEMIS-113 Better organize examples
https://issues.apache.org/jira/browse/ARTEMIS-114 Some openwire examples
2015-08-11 23:44:43 -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
Clebert Suconic
6fe9e0ebd6
ARTEMIS-163 First pass on the native AIO refactoring
...
https://issues.apache.org/jira/browse/ARTEMIS-163
On this pass I'm just converting the native layer to a simpler one.
It wasn't very easy to change the alignment at the current framework,
so I did some refactoring simplifying the native layer
The volume of the nubmer of changes here is because:
- The API is changed, we now don't close the libaio queue between files
- The native layer won't use malloc as much as it used to, saving some CPU and memory defragmentation
- I organized the code around nio and libaio
2015-07-29 22:12:03 -04:00
Clebert Suconic
d5dde68f0c
ARTEMIS-157 fixing isHA on connectionFactory
2015-07-22 17:46:04 +01:00
Ville Skyttä
2a647c176f
Declare ConcurrentMaps instead of ConcurrentHashMaps
...
See PR #88 for discussion.
2015-07-22 16:16:57 +03:00
Ville Skyttä
b0a80ce1be
Spelling fixes
2015-07-09 10:41:03 -04:00
Clebert Suconic
309ce4324c
Fixing javadoc and removing the -Xdoclint option from the pom.xml
...
Also, since JDK 1.8 is no longer required I'm downgrading the JDK to 1.7 minimal.
We can review that back to 1.8 when we really need 1.8 features.
2015-06-09 22:13:11 -04:00
Daniel Kulp
419a3cc213
Start working on trying to get the javadoc stuff to pass without the lint stuff.
...
"mvn install" now works without the lint, but a "mvn install javadoc:jar" still fails. Since that is what the release plugin uses, need to keep the lint there for now. Still lots of failures.
2015-06-09 15:29:58 -04:00
Clebert Suconic
cd205f6b9d
ARTEMIS-130 and ARTEMIS-132 connection-factory constructors / Adding inVM serialization
...
https://issues.apache.org/jira/browse/ARTEMIS-130 connection-factory constructors
https://issues.apache.org/jira/browse/ARTEMIS-132 adding vm as an URL on connection factory serialization
Adding new constructors into connection factory
This will make examples easier to understand, less stuff to be written before instantiating connection factories
2015-06-04 12:17:05 -04:00
Thiago Kronig
d48b4f4770
ARTEMIS-129 License header should be a normal comment
...
To reproduce this commit, apply a replace regex rule using:
search regex: /\*\*\n \* Licensed
replace: /\*\n \* Licensed
These files had to be changed manually:
artemis-selector/src/main/javacc/HyphenatedParser.jj
artemis-selector/src/main/javacc/StrictParser.jj
artemis-website/src/main/resources/styles/impact/css/pygmentize.css
artemis-website/src/main/resources/styles/impact/css/site.css
2015-06-03 10:19:45 -04:00
Martyn Taylor
22d54c5830
[maven-release-plugin] prepare for next development iteration
2015-05-21 13:47:45 +01:00
Martyn Taylor
3435d5948f
[maven-release-plugin] prepare release 1.0.0
2015-05-21 13:43:56 +01:00
Martyn Taylor
97210427df
[maven-release-plugin] prepare for next development iteration
2015-05-20 11:26:38 +01:00
Martyn Taylor
3fb3799f91
[maven-release-plugin] prepare release 1.0.0
2015-05-20 11:17:31 +01:00
Martyn Taylor
73c5f2e342
[maven-release-plugin] prepare for next development iteration
2015-05-13 15:24:55 +01:00
Martyn Taylor
bfc9d8f72d
[maven-release-plugin] prepare release 1.0.0
2015-05-13 15:24:16 +01:00
Martyn Taylor
a17c828b85
Ensure all references to the project use ActiveMQ Artemis
2015-05-13 11:51:26 +01:00