Skip to content

Commit d9d5169

Browse files
committed
Update documentation and examples
1 parent dec3fc7 commit d9d5169

File tree

7 files changed

+18
-9
lines changed

7 files changed

+18
-9
lines changed

web/configuration.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ <h2>Mandatory configuration properties</h2>
5757
<p/>
5858
<h2>Optional configuration properties</h2>
5959
<p>
60-
The following properties are optional and can be used to fine-tune the connection. Note that 'subscriber.name' is required when connecting to a Topic.</p>
60+
The following properties are optional and can be used to fine-tune the connection. Note that 'subscriber.name' and 'connection.client-id' are required when connecting to a (durable) Topic.</p>
6161
<table class="table table-hover table-striped table-bordered">
6262
<caption>Optional configuration properties</caption>
6363
<thead>
@@ -69,8 +69,9 @@ <h2>Optional configuration properties</h2>
6969
</thead>
7070
<tbody>
7171
<tr>
72-
<td>connection.client-id</td>
73-
<td>Sets the client identifier for new connection. The ID must be unique for all connections and is optional.</td>
72+
<td>connection.client-id <i class="icon-exclamation-sign"/>
73+
</td>
74+
<td>Sets the client identifier for new connection. The ID must be unique for all connections and is required for Topics.</td>
7475
<td>
7576
<a href="http://docs.oracle.com/javaee/6/api/javax/jms/Connection.html#setClientID(java.lang.String)">Javadoc</a>
7677
</td>

web/messaging-register.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ <h1>Messaging: Register JMS receiver</h1>
5858
"java.naming.factory.initial"
5959
:= "org.apache.activemq.jndi.ActiveMQInitialContextFactory",
6060
"java.naming.provider.url" := "tcp://myserver.local:61616",
61-
"destination" := "dynamicQueues/eXistdbTest",
61+
"destination" := "dynamicQueues/eXistdb-messaging-demo",
6262
"connection-factory" := "ConnectionFactory"
6363
}
6464

web/messaging-send.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h1>Messaging: Send JMS message</h1>
2323
"java.naming.factory.initial"
2424
:= "org.apache.activemq.jndi.ActiveMQInitialContextFactory",
2525
"java.naming.provider.url" := "tcp://myserver.local:61616",
26-
"destination" := "dynamicQueues/eXistdbTest",
26+
"destination" := "dynamicQueues/eXistdb-messaging-demo",
2727
"connection-factory" := "ConnectionFactory"
2828
}
2929

web/modules/testing/testFallback.xq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let $jmsConfiguration :=
2121
"java.naming.factory.initial"
2222
:= "org.apache.activemq.jndi.ActiveMQInitialContextFactory",
2323
"java.naming.provider.url" := "tcp://miniserver.local:61616",
24-
"destination" := "dynamicQueues/eXistdbTest",
24+
"destination" := "dynamicQueues/eXistdb-test",
2525
"connection-factory" := "ConnectionFactory"
2626
}
2727

web/modules/testing/testFallback_sendData.xq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let $jmsConfiguration :=
1212
"java.naming.factory.initial"
1313
:= "org.apache.activemq.jndi.ActiveMQInitialContextFactory",
1414
"java.naming.provider.url" := "tcp://miniserver.local:61616",
15-
"destination" := "dynamicQueues/eXistdbTest",
15+
"destination" := "dynamicQueues/eXistdb-test",
1616
"connection-factory" := "ConnectionFactory",
1717
"exist.connection.pool" := "yes"
1818
}

web/replication-consumer.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,21 @@ <h1>Replication: Consumer</h1>
3333
Lookup destination (topic)
3434
see javax.naming.InitialContext#lookup(String)
3535
--&gt;
36-
&lt;parameter name="destination" value="dynamicTopics/eXistdb"/&gt;
36+
&lt;parameter name="destination"
37+
value="dynamicTopics/eXistdb-replication-demo"/&gt;
3738

3839
&lt;!--
3940
Set the name used to identify this subscription
4041
see JMS javax.jms.TopicSession#createDurableSubscriber(Topic,String)
4142
--&gt;
4243
&lt;parameter name="subscriber.name" value="SubscriptionId"/&gt;
4344

45+
&lt;!--
46+
Set the client identifier for the connection
47+
see JMS javax.jms.Connection#setClientID(String)
48+
--&gt;
49+
&lt;parameter name="connection.client-id" value="ClientId"/&gt;
50+
4451
&lt;/trigger&gt;
4552
</pre>
4653
</section>

web/replication-producer.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ <h1>Replication: Producer</h1>
3333
Lookup destination (topic)
3434
see javax.naming.InitialContext#lookup(String)
3535
--&gt;
36-
&lt;parameter name="destination" value="dynamicTopics/eXistdb"/&gt;
36+
&lt;parameter name="destination"
37+
value="dynamicTopics/eXistdb-replication-demo"/&gt;
3738

3839
&lt;/trigger&gt;
3940
&lt;/triggers&gt;

0 commit comments

Comments
 (0)