Examples of HornetQConnectionMetaData


Examples of org.hornetq.jms.client.HornetQConnectionMetaData

      try
      {
         HornetQServer server = HornetQServers.newHornetQServer(new ConfigurationImpl());

         ConnectionMetaData meta = new HornetQConnectionMetaData(server.getVersion());

         // Compare the value from ConnectionMetaData and MANIFEST.MF
         Attributes attrs = manifest.getMainAttributes();

         Assert.assertEquals(meta.getProviderVersion(), attrs.getValue("HornetQ-Version"));
         Assert.assertEquals("https://svn.jboss.org/repos/hornetq/trunk", attrs.getValue("HornetQ-SVN-URL"));
      }
      finally
      {
         if (conn != null)
View Full Code Here

Examples of org.hornetq.jms.client.HornetQConnectionMetaData

      try
      {
         HornetQServer server = HornetQServers.newHornetQServer(createBasicConfig());

         ConnectionMetaData meta = new HornetQConnectionMetaData(server.getVersion());

         // Compare the value from ConnectionMetaData and MANIFEST.MF
         Attributes attrs = manifest.getMainAttributes();

         Assert.assertEquals(meta.getProviderVersion(), attrs.getValue("HornetQ-Version"));
         Assert.assertEquals("https://svn.jboss.org/repos/hornetq/branches/Branch_2_2_EAP", attrs.getValue("HornetQ-SVN-URL"));
      }
      finally
      {
         if (conn != null)
View Full Code Here

Examples of org.hornetq.jms.client.HornetQConnectionMetaData

      try
      {
         HornetQServer server = HornetQServers.newHornetQServer(createBasicConfig());

         ConnectionMetaData meta = new HornetQConnectionMetaData(server.getVersion());

         // Compare the value from ConnectionMetaData and MANIFEST.MF
         Attributes attrs = manifest.getMainAttributes();

         Assert.assertEquals(meta.getProviderVersion(), attrs.getValue("HornetQ-Version"));
         Assert.assertEquals("https://svn.jboss.org/repos/hornetq/trunk", attrs.getValue("HornetQ-SVN-URL"));
      }
      finally
      {
         if (conn != null)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.