<commit_before>camel-jms: Demonstrates how to use the camel-jms component
======================================================
Author: <NAME>  
Level: Beginner  
Technologies: Camel, AMQ 7  
Summary: This quickstart demonstrates how to use the camel-jms component to connect to an AMQ 7 broker and use JMS messaging between two Camel routes.  
Target Product: Fuse  
Source: <https://github.com/jboss-fuse/fuse-karaf/tree/master/quickstarts/camel/camel-jms>  


What is it?
-----------
In this quickstart, orders from zoos all over the world will be copied from the input directory into a specific
output directory per country. We will use two Camel routes to send and receive orders to an AMQ 7 Broker.

System requirements
-------------------

Before building and running this quick start you need:

* Maven 3.3.1 or higher
* JDK 1.8
* JBoss Fuse 7
* AMQ Broker 7 running

AMQ Broker 7
-------------------

This quickstart assumes you have an AMQ 7 broker running. The installation and configuration of the AMQ 7 Broker is beyond the scope of this quickstart. For more information you can
visit the AMQ 7 [documentation](https://access.redhat.com/documentation/en-us/red_hat_jboss_amq/7.0/html/using_amq_broker/) 


Build and Deploy the Quickstart
-------------------------

1. Change your working directory to `camel-jms` directory.
* Run `mvn clean install` to build the quickstart.
* Start JBoss Fuse 7 by running bin/fuse (on Linux) or bin\fuse.bat (on Windows).
* Copy the file `org.ops4j.connectionfactory-amq7.cfg` you find in this quickstart's `src/main/resources/etc` directory
 to the `etc` directory. In your  JBoss Fuse installation. Verify it's content for the correct broker URL and 
 credentials. By default, the broker URL is set to tcp://localhost:61616 accepting AMQ 7's CORE protocol.
  Credentials are set to admin/admin.  
* In the JBoss Fuse console, enter the following commands:

        feature:install pax-jms-pool artemis-jms-client camel-blueprint camel-jms 
        install -s mvn:org.jboss.fuse.quickstarts/camel-jms/${project.version}

* Fuse should give you an id when the bundle is deployed

By showing the logs with:

```
karaf@root()> log:display
```

The following messages should be displayed:

```<commit_msg>[ENTESB-7765] install pax-jms-artemis for camel-jms quickstart<commit_after>camel-jms: Demonstrates how to use the camel-jms component
======================================================
Author: <NAME>  
Level: Beginner  
Technologies: Camel, AMQ 7  
Summary: This quickstart demonstrates how to use the camel-jms component to connect to an AMQ 7 broker and use JMS messaging between two Camel routes.  
Target Product: Fuse  
Source: <https://github.com/jboss-fuse/fuse-karaf/tree/master/quickstarts/camel/camel-jms>  


What is it?
-----------
In this quickstart, orders from zoos all over the world will be copied from the input directory into a specific
output directory per country. We will use two Camel routes to send and receive orders to an AMQ 7 Broker.

System requirements
-------------------

Before building and running this quick start you need:

* Maven 3.3.1 or higher
* JDK 1.8
* JBoss Fuse 7
* AMQ Broker 7 running

AMQ Broker 7
-------------------

This quickstart assumes you have an AMQ 7 broker running. The installation and configuration of the AMQ 7 Broker is beyond the scope of this quickstart. For more information you can
visit the AMQ 7 [documentation](https://access.redhat.com/documentation/en-us/red_hat_jboss_amq/7.0/html/using_amq_broker/) 


Build and Deploy the Quickstart
-------------------------

1. Change your working directory to `camel-jms` directory.
* Run `mvn clean install` to build the quickstart.
* Start JBoss Fuse 7 by running bin/fuse (on Linux) or bin\fuse.bat (on Windows).
* Copy the file `org.ops4j.connectionfactory-amq7.cfg` you find in this quickstart's `src/main/resources/etc` directory
 to the `etc` directory. In your  JBoss Fuse installation. Verify it's content for the correct broker URL and 
 credentials. By default, the broker URL is set to tcp://localhost:61616 accepting AMQ 7's CORE protocol.
  Credentials are set to admin/admin.  
* In the JBoss Fuse console, enter the following commands:

        feature:install pax-jms-pool artemis-jms-client pax-jms-artemis camel-blueprint camel-jms 
        install -s mvn:org.jboss.fuse.quickstarts/camel-jms/${project.version}

* Fuse should give you an id when the bundle is deployed

By showing the logs with:

```
karaf@root()> log:display
```

The following messages should be displayed:

```
{'fraction_non_alphanumeric': 0.12349463542807095, 'fraction_numerical': 0.012261878694985767, 'mean_word_length': 3.5634365634365635, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6524284', 'n_tokens_mistral': 1425, 'n_tokens_neox': 1324, 'n_words': 558}