public SendMessage(BrokerService brokerService) {
super(brokerService);
}
public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception {
WebClient client = WebClient.getWebClient(request);
ActiveMQDestination dest = createDestination();
sendMessages(request, client, dest);
if (redirectToBrowse) {
if (isQueue()) {