Skip to content

Commit e736114

Browse files
Changed from deprecated method
1 parent a5ac0b2 commit e736114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/src/intTest/java/uk/nhs/adaptors/gp2gp/testcontainers/ActiveMqContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static ActiveMqContainer getInstance() {
2222
@Override
2323
public void start() {
2424
super.start();
25-
var containerBrokerUri = "amqp://" + getContainerIpAddress() + ":" + getMappedPort(ACTIVEMQ_PORT);
25+
var containerBrokerUri = "amqp://" + getHost() + ":" + getMappedPort(ACTIVEMQ_PORT);
2626
System.setProperty("GP2GP_AMQP_BROKERS", containerBrokerUri);
2727
}
2828
}

0 commit comments

Comments
 (0)