Hi How can I combine the endpoint DSL with dynamic property definitions such as:
final String toStr = "{{shuttle.ftp.outgoing.url}}" + "&username={{shuttle.ftp.username}}" + "&password={{shuttle.ftp.password}}" + "&allowNullBody=false" + "&consumer.bridgeErrorHandler=true" + "&throwExceptionOnConnectFailed=true" + "&pollStrategy=#defaultPollStrategy"; from("{{shuttle.outgoing.transactions}}") .routeId("Sending-SHUTTLE-FTP") .autoStartup("{{shuttle.ftp.outgoing.startup}}") .wireTap("seda:ping") .to(toStr) .log("XML file(s) sent") .end(); What I’d like is to have the option to have our DEV environment setup using say FTP but in INTEGRATION and PROD it will be SFTP. Since the endpointDSL is somewhat “hardcoding” the endpoint I don’t really know how to do it Thx M