Commit Graph

435 Commits

Author SHA1 Message Date
Christopher L. Shannon (cshannon) f09a41d433 ARTEMIS-1888 - Add forceSSLParameters flag to override system SSL properties
If true the connection factory will prefer SSL settings set via the connector configuration vs system properties
2018-05-25 12:30:16 -04:00
saurabhrai d11eed2f9e ARTEMIS-1866 Make Quorum vote result wait time configurable.
Quorum voting is used by both the live and the backup to decide what to do if a replication connection is disconnected.
Basically, the server will request each live server in the cluster to vote as to whether it thinks the server it is replicating to or from is still alive.
You can also configure the time for which the quorum manager will wait for the quorum vote response.
Currently, the value is hardcoded as 30 sec. We should change this 30-second wait to be configurable.
2018-05-25 12:29:02 -04:00
saurabhrai 32a92b52e1 ARTEMIS-1870:Missing documentation for new parameter jdbc-journal-sync-period added for JDBC Persistence 2018-05-21 19:47:01 -04:00
Roddie Kieley 1c2ca4ae2a NO-JIRA: Updated the hacking guide ide section to reflect best practice for the 2018.2 edition of IntelliJ IDEA. 2018-05-02 15:15:43 -02:30
Jiri Danek 67ee34d4d9 ARTEMIS-1449 Remove deprecated -XX:+UseFastAccessorMethods JVM option
This option was removed in JRE 10 and its presence causes error on startup.

Artemis still does not compile on JDK 9 and up, so what I tried was
to compile on JDK 1.8 and then start Artemis on 1.8 and 10.
That now works for me.
2018-05-01 13:58:29 -04:00
Justin Bertram a72046a0e3 ARTEMIS-1793 fix 'destination-type' STOMP header (fix) 2018-04-18 11:53:54 -04:00
Francesco Nigro fdb63df392 ARTEMIS-1784 JDBC NodeManager should just use DMBS clock
It avoid using the system clock to perform the locks logic
by using the DBMS time.
It contains several improvements on the JDBC error handling
and an improved observability thanks to debug logs.
2018-04-18 09:54:34 -04:00
Pat Fox 6df09d6e12 ARTEMIS-1815 adding exclusive-queue example 2018-04-17 16:58:30 -04:00
Francesco Nigro 469d6baa93 ARTEMIS-1788 JDBC HA should use JDBC Network Timeout
JdbcNodeManager is configured to use the same network timeout
value of the journal and to validate all the timeout values
related to a correct HA behaviour.
2018-04-17 10:40:20 -04:00
Pat Fox 2f0149c759 ARTEMIS-1809 adding example of mapping ActiveMQ 5.x Virtual Topic consumers 2018-04-17 10:30:26 +08:00
Lionel Cons 1e81361a88 ARTEMIS-1740: Add support for regex based certificate authentication 2018-04-12 12:55:20 -04:00
Christopher L. Shannon (cshannon) 4795f7c6d0 ARTEMIS-1799 - Add a NotificationActiveMQServerPlugin
Adds a new plugin that will support sending new types of notifications
for broker events which will allow enhanced broker monitoring
2018-04-10 09:43:02 -04:00
Francesco Nigro 1a7a2cf5b4 ARTEMIS-1774 Node Manager Store table name should be configurable
It exposes the table name configuration for:
- CLI command
- configuration file

The docs are updated as well.
2018-03-28 11:52:30 -04:00
Francesco Nigro af3917247a ARTEMIS-1760 JDBC HA should have configurable tolerance of DB time misalignment
It allows a user to customize the max allowed distance between system and DB time,
improving HA reliability by shutting down the broker when the misalignment
exceeds configured limit.
2018-03-27 10:36:56 -04:00
Francesco Nigro b775cb251f ARTEMIS-1767 JDBC Lock Acquisition Timeout should behave like the file based version
The JDBC Lock Acquisition Timeout is no longer exposed to any user configuration and defaulted to infinite to match the behaviour of the journal (file-based) one.
2018-03-22 16:19:35 -04:00
gtully 72ec6c8e0b [ARTEMIS-1758] support SASL EXTERNAL with TextCertLoginModule
- rework proton handler to use saslListener
2018-03-22 10:09:58 -04:00
Justin Bertram 906a4371a7 NO-JIRA update upgrade details for 2.4->2.5 2018-03-09 09:21:15 -06:00
Justin Bertram 86c9e7267b NO-JIRA review docs for content, style, & format 2018-03-08 22:47:10 -05:00
Justin Bertram 66f8d98421 ARTEMIS-1714 version notes + upgrade procedures 2018-03-08 14:28:23 -05:00
Justin Bertram a79dea0885 ARTEMIS-1714 remove out-of-date release details 2018-03-08 14:28:23 -05:00
Stanislav Knot 12ccb77d74 NO-JIRA invalid xmls in docs 2018-03-07 09:17:57 -06:00
Justin Bertram c1b4253ba1 ARTEMIS-1696 doc updates 2018-03-02 12:45:28 -05:00
Justin Bertram cf9640bf35 ARTEMIS-1721 fix broken doc link 2018-03-02 10:40:26 -06:00
Justin Bertram 2123f85ea9 ARTEMIS-1717 create/delete address permissions ignored in broker.xml 2018-03-01 14:02:57 -06:00
Christopher L. Shannon (cshannon) 642654ff7a ARTEMIS-1706 - Add support for wantClientAuth
Support setting wantClientAuth on a netty acceptor
2018-02-28 06:44:24 -05:00
Michael André Pearce 9d1c59cdff ARTEMIS-1661 Support splitting of broker.xml
Support XML standard XInclude thus allowing splitting of the broker.xml
Added test cases with split out config using include.
2018-02-27 11:24:36 +00:00
Justin Bertram 03709fc7cf ARTEMIS-1694 fix graceful-shutdown doc 2018-02-26 19:14:44 +00:00
saurabhrai c2745085df ARTEMIS-1677 fix doc for AIO+NFS 2018-02-22 15:30:24 -06:00
Justin Bertram 0121741e2a ARTEMIS-872 fix potential negative space calc 2018-02-20 23:51:34 -05:00
Michael André Pearce 03f4a52f1f ARTEMIS-853 - Add documents
Exclusive Queue documents added to detail behaviour and how to configure.
Also update docuents for last-value queue to cover addtional ways to configure
2018-02-20 08:43:43 +00:00
Dejan Bosanac 88f43e9342 ARTEMIS-1651 Allow custom etc and data directories to be used
initial support for custom etc location

fixing windows distribution

fixing StreamClassPathTest

ARTEMIS-1651 fix tests and add docs
2018-02-14 09:17:08 -06:00
rico.pahlisch 6501c3de1f ARTEMIS-1649 - enable openssl provider for Netty 2018-02-05 14:42:04 -06:00
gtully d2235d4dad [ARTEMIS-1030] document url escaping of the virtualTopicConsumerWildcards value 2018-02-01 08:43:11 +08:00
Pat Fox 6e71fa7fd9 ARTEMIS-1623 add logging codes to LoggingActiveMQServerPlugin 2018-01-31 15:13:31 -06:00
Pat Fox e350c58a46 ARTEMIS-1623 ActiveMQServerPlugin impl for logging various broker events
Similar concept to the ActiveMQ 5.x loggingBrokerPlugin
2018-01-24 09:10:32 -05:00
Justin Bertram 557224795b ARTEMIS-608 document adding runtime deps 2018-01-22 16:19:00 -05:00
gtully 82e4f465ee [ARTEMIS-1030] add support for auto mapping openwire virtual topic consumer destinations to FQQN 2018-01-22 11:10:46 +00:00
Howard Gao bb84f67936 ARTEMIS-1600 Support masked passwords in bootstrap.xm and login.config
We provide a feature to mask passwords in the configuration files.
However, passwords in the bootstrap.xml (when the console is
secured with HTTPS) cannot be masked. This enhancement has
been opened to allow passwords in the bootstrap.xml to be masked
using the built-in masking feature provided by the broker.

Also the LDAPLoginModule configuration (in login.config) has a
connection password attribute that also needs this mask support.

In addition the ENC() syntax is supported for password masking
to replace the old 'mask-password' flag.
2018-01-18 08:59:00 -06:00
Jiri Danek 472e429540 NO-JIRA fix warnings from w3c/link-checker in docs
also update URLs and `s/http/https` in docs wherever possible
2018-01-10 13:07:40 +01:00
art-licis c2a9be9540 NO-JIRA Diverts: documentation & test updates.
Updated documentation & tests with original destination & message ID info.
Javadoc update & typo fix.
2018-01-05 12:52:44 +00:00
Jiri Danek c1671530b0 ARTEMIS-1181 Fix broken links in user-manual
Either caused by improper escaping, or the #fragment is wrong
2018-01-04 14:39:10 -06:00
Pat Fox d95757057e ARTEMIS-1575 configure custom broker plugins with key/value properties.
The properties are read and passed into the the broker plugin's init(Map<String,String>)
2018-01-04 14:27:41 -06:00
Jiri Danek 9d685b6f2d ARTEMIS-1183 Delete empty "queue-attributes.html" doc page
This is a follow-up to ARTEMIS-780 Added section on latest address model
2017-12-20 16:08:23 -05:00
Michael André Pearce 3ef98044f8 ARTEMIS-1516 - Ensure JNDI via Tomcat Resource works
Apply fix so that when using JNDI via tomcat resource it works. 
Replace original extract of JNDIStorable taken from Qpid, and use ActiveMQ5's as fits better to address this issue. (which primary use case is users migrating from 5.x)
Refactored ActiveMQConnectionFactory to externalise and turn into reference by StringRefAddr's instead of custom RefAddr which isnt standard.
Refactored ActiveMQDestinations similar
Refactored ActiveMQDestination to remove redundent and duplicated name field and ensured getters still behave the same
2017-12-19 09:20:35 -05:00
Andy Taylor 6067a285bd https://issues.apache.org/jira/browse/ARTEMIS-1565
ARTEMIS-1565 - replica should retry quorum vote

https://issues.apache.org/jira/browse/ARTEMIS-1565
2017-12-19 11:30:20 +00:00
gtully a1a30fb7fd [ARTEMIS-550] add section on migrating virtual topics and test to validate 2017-12-18 22:25:28 -05:00
Justin Bertram a685bf6e5c ARTEMIS-1562 update docs for slow-consumer example 2017-12-18 11:34:11 +00:00
Jiri Danek 0a2e143de5 ARTEMIS-1463 Fix broker's mBean domain name 2017-12-18 11:30:18 +00:00
Justin Bertram 84bedaf2e4 ARTEMIS-1547 support referrals in LDAP login module 2017-12-10 21:50:47 +00:00
art-licis b152a33267 NO-JIRA Documentation: Fixed filenames of native libs found on distribution 2017-12-05 09:18:26 -06:00
Stanislav Knot 52447b1e88 ARTEMIS-1420 updated docs 2017-11-27 13:06:19 -05:00
Justin Bertram f53e411dad ARTEMIS-1525 refactor embedded examples 2017-11-27 10:55:16 -06:00
Howard Gao 5fe88e1c66 ARTEMIS-1365 Advisory consumers listed in Console
Openwire clients create consumers to advisory topics to receive
notifications. As a result there are internal queues created
on advisory topics. Those consumer shouldn't be exposed via
management APIs which are used by the Console

To fix that the broker doesn't register any queues from
advisory addresses.

Also refactors a code to remove Openwire specific contants
from AddressInfo class.
2017-11-17 17:39:40 +08:00
Pat Fox fcf4f3e79a NO-JIRA minor typo in doc'd config sample 2017-11-03 13:05:10 +01:00
Justin Bertram cd99aba48b ARTEMIS-1488 add 'all' client jar to distribution 2017-10-31 14:44:37 +00:00
Andy Taylor 804e12c7ce ARTEMIS-1491 - removed duplicate Jolokia instance
https://issues.apache.org/jira/browse/ARTEMIS-1491
2017-10-31 09:33:10 -05:00
Francesco Nigro 09a5d6f1c6 ARTEMIS-1447 JDBC NodeManager to support JDBC HA Shared Store 2017-10-26 15:38:37 -04:00
Justin Bertram 499f737343 ARTEMIS-1465 improve MQTT protocol logging 2017-10-23 15:12:56 -04:00
Christopher L. Shannon (cshannon) b386c7c5ae ARTEMIS-1469 - Add support for trusting any client certificate
Added a new trustAll flag which will support trusting any client
keystore when doing testing against a broker.  This setting should not
be used in production and is strictly for testing.
2017-10-19 08:57:10 -05:00
Andy Taylor a64d7c2e42 ARTEMIS-1463 - added SSL example + docs
also added support for anon login

https://issues.apache.org/jira/browse/ARTEMIS-1463
2017-10-18 15:24:44 -05:00
Andy Taylor 62a2b14dd0 ARTEMIS-1463 - add role based authentication to the JMX objects
This is done by creating a guard and using JAAS to check for access to mbean objects and their methods.

NB this also implements https://issues.apache.org/jira/browse/ARTEMIS-534

https://issues.apache.org/jira/browse/ARTEMIS-1463
2017-10-16 15:39:38 +01:00
Michal Tóth db198ebb64 NOJIRA docs clarification of divert position in broker.xml file 2017-10-12 09:19:30 +02:00
Clebert Suconic e31f447032 ARTEMIS-1461 Allow changing of messages through interceptors 2017-10-11 21:01:48 -04:00
Michael Andre Pearce 4db8cd54ca ARTEMIS-1446 - Support Transformer configuration by properties
Update Tranformer to be able to handle initiation via propertiers (map<string, string>)
Update Configuration to have more specific transfromer configuration type, and to take properties.
Support back compatibility.
Add AddHeadersTransformer which is a main use case, and can act as example also.
Update Control's to expose new property configuration
Add test cases
Update examples for new transformer config style
2017-10-09 17:29:10 -04:00
Clebert Suconic d190b611be ARTEMIS-1452 Improvements to IO parameters and options
- it is now possible to disable the TimedBuffer
- this is increasing the default on libaio maxAIO to 4k
- The Auto Tuning on the journal will use asynchronous writes to simulate what would happen on faster disks
- If you set datasync=false on the CLI, the system will suggest mapped and disable the buffer timeout

This closes #1436

This commit superseeds #1436 since it's now disabling the timed buffer through the CLI
2017-10-09 14:32:04 -04:00
Justin Bertram 69d4252b37 NO-JIRA fix groupID URL doc 2017-10-02 10:04:11 -05:00
Justin Bertram a181372256 NO-JIRA correct connectionLoadBalancingPolicyClassName in docs 2017-09-28 21:15:57 -04:00
Justin Bertram abcf4b747e ARTEMIS-1428 support max frame payload length for STOMP websocket 2017-09-26 15:17:07 -04:00
Michael Andre Pearce e9eaa7daf6 ARTEMIS-1422 Fix match change to support wildcard config 2017-09-25 11:34:34 -04:00
gtully 574e5c8c7b ARTEMIS-1435 - provide default jolokia-access.xml security policy in etc to lock down cors to http.host 2017-09-25 10:37:09 +01:00
gtully d402756e09 ARTEMIS-1373 - ensure roleName is in the doc config example 2017-09-07 16:14:55 +01:00
gtully 99b2e4c0fb ARTEMIS-1373 - support memberOf type query for role mapping and respect roleName attribute AMQ-3064 2017-09-07 14:11:48 +01:00
gtully 125bd41f9d ARTEMIS-1372 ARTEMIS-1373 documentation updates 2017-09-06 10:22:28 +01: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
Stanislav Knot e9c601dd2c ARTEMIS-1385 fixed uncomplete comment and typo 2017-09-05 10:42:10 +02:00
Justin Bertram bb7251ba08 ARTEMIS-1380 simplify docs with URL syntax 2017-08-31 12:04:08 -04:00
Otavio R. Piske 5325c9db87 ARTEMIS-1291 - fix incorrect links in the documentation 2017-08-31 10:30:52 -04:00
Michael Andre Pearce 91abc8770c ARTEMIS-1360 Update config-reload documentation on queues
Updated details on max-conumsers and purge-on-no-consumers now these fields  on queue update on reload.
2017-08-30 10:54:22 -04:00
Howard Gao 9a9976bd31 ARTEMIS-1360 Documenting runtime reloadable configuration
Adding details about broker's configuration parameters
that can be reloaded during runtime.
2017-08-29 21:05:07 -04:00
Justin Bertram 90b7f075d0 NO-JIRA clean up docs
Remove some out-dated material, fix a few links, & clean up a few
random bits.
2017-08-28 21:38:03 -05:00
Francesco Nigro 249745506e ARTEMIS-1367 Add LOG to the Critical Analyzer policies 2017-08-22 17:37:01 +02:00
Pat Fox a00c8ef94a NO-JIRA removed out of date info regarding jms queue specific config 2017-08-19 12:58:48 -04:00
Michael André Pearce ec5eb4b754 ARTEMIS-1355 - correct doc Undo PR 1438 2017-08-17 19:39:58 +01:00
Michael Andre Pearce 569bd42ba5 ARTEMIS-1346 Add initial Management Console Documentation
Added some initial documentation
2017-08-17 10:09:17 -05:00
Michael Andre Pearce bfe88c8fc3 ARTEMIS-1343 Update Configuring Transports Documentation
Updated to reflect deprecated properties.
Add a new section to cover native transport support (epoll and kqueue) added over the past few releases.
2017-08-17 10:06:44 -05:00
Timothy Bish 2c30be8809 ARTEMIS-1316 Add docs for AMQP scheduling of messages
Add some documentation for the scheduled message options with AMQP
Messages.
2017-08-10 14:22:52 -04:00
gtully 840ff8d237 [ARTEMIS-1310] addition of protocol to sample acceptor url to krb5 doc 2017-08-10 14:07:26 +01:00
gtully a4fc94880a [ARTEMIS-1310] addition of sample acceptor url to krb5 doc 2017-08-10 13:37:57 +01:00
gtully 5909a24cd3 [ARTEMIS-1310] addition of sample config scope to krb5 doc 2017-08-09 17:21:39 +01:00
Jiri Danek 48f50fccbe NO-JIRA Updates to management.md doc
* add Jolokia to the initial list of ways to access management API
* remove mentions of core queues, etc. (pre-addressing change)
* activemq.notifications can be consumed with any client
* activemq.management can be accessed only with Core or Core JMS clients
* *.management.*Control are interfaces, not classes
* remove ObjectNames from the summary of management methods.
    IMO that made the short paragraphs hard to read.
    And one can intuitively find them in jconsole,
    or use the Builder class to construct them in code.
* move the note about empty filter to the queue management section
* add code snippet for creating ObjectName with ObjectNameBuilder
* mention web console and bin/artemis for interactive management
* fix few typos
2017-08-08 13:37:08 -04:00
gtully db62ed92f7 [ARTEMIS-1310] require mechanism to be explicitly enabled 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
Justin Bertram afd46c15fd ARTEMIS-1323 fix response code for REST ack 2017-08-07 18:47:33 -04:00
Justin Bertram d3f68a1a3a REST documentation fixes 2017-08-07 18:47:33 -04:00
Justin Bertram b6e48eb14c ARTEMIS-1320 allow URL for REST/broker connection 2017-08-07 18:47:33 -04:00
Clebert Suconic f16af75354 ARTEMIS-1324 Deadlock detection and health check of critical components 2017-08-07 18:40:03 -04:00
Michael André Pearce 92c3e7ef97 NO JIRA: Doc correction
From here, it seems the default is -1 not 0 as originally stated in doc.

d055411f21/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/config/ActiveMQDefaultConfiguration.java (L337)
2017-08-03 11:37:15 -04:00
Michael Andre Pearce 827006760e NO-JIRA: Update Logo 2017-07-25 01:51:01 +01:00
Erich Duda 22b4755fbb ARTEMIS-1265 JaCoCo profile for getting code coverage report
Added two maven profiles for:
 - generating JaCoCo exec files
 - generating JaCoCo reports
2017-07-24 09:56:08 -04:00
Jiri Danek 006c31ffec NO-JIRA Fix documentation for <broadcast-group> <connection-ref> ...
Followup to #553, eliminate all occurrences of the old connector-ref
 config (that used to use connector-name attribute) in broker.xml.
2017-07-24 09:52:09 -04:00