I am trying to run spring dataflow local server and configure rabbitmq binder for all applications. I have rabbitmq running on docker on host 172.17.0.2.
java -jar spring-cloud-dataflow-server-local-1.2.3.RELEASE.jar
--spring.cloud.dataflow.applicationProperties.stream.spring.cloud.stream.binders.rabbit1.type=rabbit
--spring.cloud.dataflow.applicationProperties.stream.spring.cloud.stream.binders.rabbit1.environment.spring.rabbit.host=172.17.0.2
--spring.cloud.dataflow.applicationProperties.stream.spring.cloud.stream.binders.rabbit1.environment.spring.rabbit.user=guest
--spring.cloud.dataflow.applicationProperties.stream.spring.cloud.stream.binders.rabbit1.environment.spring.rabbit.password=guest
Exception
{
"timestamp": 1502479027168,
"status": 500,
"error": "Internal Server Error",
"exception": "org.springframework.messaging.MessageHandlingException",
"message": "error occurred in message handler [org.springframework.integration.amqp.outbound.AmqpOutboundEndpoint@45e29e0]; nested exception is org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused (Connection refused)",
"path": "/"
}
Spring Data Flow can't find RabbitMQ.