mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-13 05:26:13 +00:00
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
35 lines
1.1 KiB
Markdown
35 lines
1.1 KiB
Markdown
# ActiveMQ Artemis
|
|
|
|
This file describes some minimum 'stuff one needs to know' to get started coding in this project.
|
|
|
|
## Source
|
|
|
|
For details about the modifying the code, building the project, running tests, IDE integration, etc. see
|
|
our [Hacking Guide](./docs/hacking-guide/en/SUMMARY.md).
|
|
|
|
## Examples
|
|
|
|
To run an example firstly make sure you have run
|
|
|
|
$ mvn -Prelease install
|
|
|
|
If the project version has already been released then this is unnecessary.
|
|
|
|
then you will need to set the following maven options, on Linux by
|
|
|
|
$ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=512m"
|
|
|
|
and the finally run the examples by
|
|
|
|
$ mvn verify
|
|
|
|
You can also run individual examples by running the same command from the directory of which ever example you want to run.
|
|
NB for this make sure you have installed examples/common.
|
|
|
|
### Recreating the examples
|
|
|
|
If you are trying to copy the examples somewhere else and modifying them. Consider asking Maven to explicitly list all the dependencies:
|
|
|
|
# if trying to modify the 'topic' example:
|
|
cd examples/jms/topic && mvn dependency:list
|