Skip to content

Instantly share code, notes, and snippets.

@johndemic
Created May 22, 2012 02:38
Show Gist options
  • Save johndemic/2766194 to your computer and use it in GitHub Desktop.
Save johndemic/2766194 to your computer and use it in GitHub Desktop.
ProductController with AutoWired MuleClient
@RequestMapping("/products")
@Controller
public class ProductController {
@Autowired
MuleClient muleClient;
@RequestMapping(method = RequestMethod.POST)
public void save(@RequestBody Product product) throws Exception {
// ToDo implement code to dispatch to JMS
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment