Spring Boot starter module for embedding MuleSoft in a Spring Boot app.
- run the au.id.mcmaster.spring.boot.starter.mule.TestSpringBootStarterMule test main class
- use PostMan to POST plain text to http://localhost:8087/test
Add spring-boot-starter-mule to you pom.xml dependencies
<dependency>
<groupId>au.id.mcmaster.springboot.starter.mule</groupId>
<artifactId>spring-boot-starter-mule</artifactId>
</dependency>
Add a Spring Boot Main class to your Project
@SpringBootApplication
@EnableMule
public class TestSpringBootStarterMule {
public static void main(String[] args) {
SpringApplication.run(TestSpringBootStarterMule.class, args);
}
}
Put the MuleSoft flow configuration files in the resources directory
Run as a Spring Boot application, or wrap it up with Docker.