Skip to content

Commit b0316ee

Browse files
author
Alexandru Scvortov
committed
change the rest of the arguments to URIs
1 parent 99e4bab commit b0316ee

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

build.xml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,7 @@
241241
failonerror="${haltOnFailureJava}" errorproperty="test.failure">
242242
<jvmarg value="-Xdebug"/>
243243
<jvmarg value="-Dsilent=true"/>
244-
<arg value="${broker.hostname}"/>
245-
<arg value="${broker.port}"/>
244+
<arg value="amqp://${broker.hostname}:${broker.port}"/>
246245
<classpath>
247246
<path refid="test.javac.classpath"/>
248247
<pathelement path="${javac.out}"/>
@@ -256,8 +255,7 @@
256255
failonerror="${haltOnFailureJava}" errorproperty="test.failure">
257256
<jvmarg value="-Xdebug"/>
258257
<jvmarg value="-Dsilent=true"/>
259-
<arg value="${broker.hostname}"/>
260-
<arg value="${broker.port}"/>
258+
<arg value="amqp://${broker.hostname}:${broker.port}"/>
261259
<classpath>
262260
<path refid="test.javac.classpath"/>
263261
<pathelement path="${javac.out}"/>
@@ -269,8 +267,7 @@
269267
<target name="producer" depends="test-build">
270268
<java fork="true" classname="com.rabbitmq.examples.ProducerMain">
271269
<jvmarg value="-Xdebug"/>
272-
<arg value="${broker.hostname}"/>
273-
<arg value="${broker.port}"/>
270+
<arg value="amqp://${broker.hostname}:${broker.port}"/>
274271
<arg value="${test.producer.rate-limit}"/>
275272
<arg value="${test.producer.message-count}"/>
276273
<arg value="${test.producer.send-completion}"/>
@@ -287,8 +284,7 @@
287284
<target name="consumer" depends="test-build">
288285
<java fork="true" classname="com.rabbitmq.examples.ConsumerMain">
289286
<jvmarg value="-Xdebug"/>
290-
<arg value="${broker.hostname}"/>
291-
<arg value="${broker.port}"/>
287+
<arg value="amqp://${broker.hostname}:${broker.port}"/>
292288
<classpath>
293289
<path refid="test.javac.classpath"/>
294290
<pathelement path="${javac.out}"/>

0 commit comments

Comments
 (0)