public static void stop ( ) throws EFapsException { for ( final QueueConnection queCon : JmsHandler . QUEUE2QUECONN . values ( ) ) { try { queCon . close ( ) ; } catch ( final JMSException e ) { throw new EFapsException ( "JMSException" , e ) ; } } for ( final TopicConnection queCon : JmsHandler . TOPIC2QUECONN . values ( ) ) { try { queCon . close ( ) ; } catch ( final JMSException e ) { throw new EFapsException ( "JMSException" , e ) ; } } JmsHandler . TOPIC2QUECONN . clear ( ) ; JmsHandler . QUEUE2QUECONN . clear ( ) ; JmsHandler . NAME2DEF . clear ( ) ; }
Stop the jms .