Created
May 22, 2012 02:38
-
-
Save johndemic/2766194 to your computer and use it in GitHub Desktop.
ProductController with AutoWired MuleClient
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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