File tree Expand file tree Collapse file tree 7 files changed +18
-9
lines changed Expand file tree Collapse file tree 7 files changed +18
-9
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ <h2>Mandatory configuration properties</h2>
57
57
< p />
58
58
< h2 > Optional configuration properties</ h2 >
59
59
< 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 >
61
61
< table class ="table table-hover table-striped table-bordered ">
62
62
< caption > Optional configuration properties</ caption >
63
63
< thead >
@@ -69,8 +69,9 @@ <h2>Optional configuration properties</h2>
69
69
</ thead >
70
70
< tbody >
71
71
< 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 >
74
75
< td >
75
76
< a href ="http://docs.oracle.com/javaee/6/api/javax/jms/Connection.html#setClientID(java.lang.String) "> Javadoc</ a >
76
77
</ td >
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ <h1>Messaging: Register JMS receiver</h1>
58
58
"java.naming.factory.initial"
59
59
:= "org.apache.activemq.jndi.ActiveMQInitialContextFactory",
60
60
"java.naming.provider.url" := "tcp://myserver.local:61616",
61
- "destination" := "dynamicQueues/eXistdbTest ",
61
+ "destination" := "dynamicQueues/eXistdb-messaging-demo ",
62
62
"connection-factory" := "ConnectionFactory"
63
63
}
64
64
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ <h1>Messaging: Send JMS message</h1>
23
23
"java.naming.factory.initial"
24
24
:= "org.apache.activemq.jndi.ActiveMQInitialContextFactory",
25
25
"java.naming.provider.url" := "tcp://myserver.local:61616",
26
- "destination" := "dynamicQueues/eXistdbTest ",
26
+ "destination" := "dynamicQueues/eXistdb-messaging-demo ",
27
27
"connection-factory" := "ConnectionFactory"
28
28
}
29
29
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ let $jmsConfiguration :=
21
21
"java.naming.factory.initial"
22
22
:= "org.apache.activemq.jndi.ActiveMQInitialContextFactory" ,
23
23
"java.naming.provider.url" := "tcp://miniserver.local:61616" ,
24
- "destination" := "dynamicQueues/eXistdbTest " ,
24
+ "destination" := "dynamicQueues/eXistdb-test " ,
25
25
"connection-factory" := "ConnectionFactory"
26
26
}
27
27
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ let $jmsConfiguration :=
12
12
"java.naming.factory.initial"
13
13
:= "org.apache.activemq.jndi.ActiveMQInitialContextFactory" ,
14
14
"java.naming.provider.url" := "tcp://miniserver.local:61616" ,
15
- "destination" := "dynamicQueues/eXistdbTest " ,
15
+ "destination" := "dynamicQueues/eXistdb-test " ,
16
16
"connection-factory" := "ConnectionFactory" ,
17
17
"exist.connection.pool" := "yes"
18
18
}
Original file line number Diff line number Diff line change @@ -33,14 +33,21 @@ <h1>Replication: Consumer</h1>
33
33
Lookup destination (topic)
34
34
see javax.naming.InitialContext#lookup(String)
35
35
-->
36
- <parameter name="destination" value="dynamicTopics/eXistdb"/>
36
+ <parameter name="destination"
37
+ value="dynamicTopics/eXistdb-replication-demo"/>
37
38
38
39
<!--
39
40
Set the name used to identify this subscription
40
41
see JMS javax.jms.TopicSession#createDurableSubscriber(Topic,String)
41
42
-->
42
43
<parameter name="subscriber.name" value="SubscriptionId"/>
43
44
45
+ <!--
46
+ Set the client identifier for the connection
47
+ see JMS javax.jms.Connection#setClientID(String)
48
+ -->
49
+ <parameter name="connection.client-id" value="ClientId"/>
50
+
44
51
</trigger>
45
52
</ pre >
46
53
</ section >
Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ <h1>Replication: Producer</h1>
33
33
Lookup destination (topic)
34
34
see javax.naming.InitialContext#lookup(String)
35
35
-->
36
- <parameter name="destination" value="dynamicTopics/eXistdb"/>
36
+ <parameter name="destination"
37
+ value="dynamicTopics/eXistdb-replication-demo"/>
37
38
38
39
</trigger>
39
40
</triggers>
You can’t perform that action at this time.
0 commit comments