1 7 package org.jboss.test.webservice.samples; 8 9 11 import org.jboss.logging.Logger; 12 import org.jboss.webservice.transport.jms.JMSTransportSupport; 13 14 import java.rmi.RemoteException ; 15 16 22 public class OrganizationJMSEndpoint extends JMSTransportSupport 23 { 24 private static final Logger log = Logger.getLogger(OrganizationJMSEndpoint.class); 26 27 28 public String getContactInfo(String organization) throws RemoteException  29 { 30 log.info("getContactInfo: " + organization); 31 return "The '" + organization + "' boss is currently out of office, please call again."; 32 } 33 } 34 | Popular Tags |