Gld EAP 6 JMS Run: Difference between revisions
Jump to navigation
Jump to search
Line 67: | Line 67: | ||
==receive.yml== | ==receive.yml== | ||
< | <syntaxhighlight lang='yaml'> | ||
service: | service: | ||
Line 78: | Line 78: | ||
connection-policy: connection-per-run | connection-policy: connection-per-run | ||
session-policy: session-per-operation | session-policy: session-per-operation | ||
implementation: | implementation: | ||
name: jboss-eap- | name: jboss-eap-6-jms | ||
version: | version: 6.4.15 | ||
jndi-url: localhost: | jndi-url: localhost:4447 | ||
load: | load: | ||
threads: 1 | threads: 1 | ||
output: | output: | ||
statistics: | statistics: | ||
file: receive.csv | file: receive.csv | ||
</ | </syntaxhighlight> |
Latest revision as of 17:37, 8 September 2017
Internal
Overview
This page contains the configuration of a simple gld run that validates the installation and interoperability with EAP 6 JMS. You will need to copy an paste the content of the configuration files shown below into send.yml and receive.ml in the current directory.
Procedure
cd $RUNTIME_DIR/jboss-eap-6.4.15/profiles/jms ./run
The EAP profile must have a "jms/queue/novaordis" queue bound in JNDI.
Create a send.yml and receive.yml in the current directory, with the content shown below.
Send the messages:
gld version gld extensions gld -c ./send.yml
Verify that all messages are present in the queue (with JBoss CLI or a JMX client).
Then receive them:
gld -c ./receive.yml
Configuration Files
send.yml
service:
type: jms
load-strategy:
name: send
queue: jms/queue/novaordis
connection-factory: jms/RemoteConnectionFactory
connection-policy: connection-per-run
session-policy: session-per-operation
user: jmsuser
password: jmsuser123
implementation:
name: jboss-eap-6-jms
version: 6.4.15
jndi-url: localhost:4447
load:
threads: 1
messages: 10000
message-size: 1024
output:
statistics:
file: send.csv
receive.yml
service:
type: jms
load-strategy:
name: receive
queue: jms/queue/novaordis
connection-factory: jms/RemoteConnectionFactory
connection-policy: connection-per-run
session-policy: session-per-operation
implementation:
name: jboss-eap-6-jms
version: 6.4.15
jndi-url: localhost:4447
load:
threads: 1
output:
statistics:
file: receive.csv