1 22 package org.jboss.resource.adapter.jms; 23 24 import java.util.Enumeration ; 25 import java.util.Vector ; 26 27 import javax.jms.ConnectionMetaData ; 28 29 37 public class JmsConnectionMetaData implements ConnectionMetaData 38 { 39 public String getJMSVersion() 40 { 41 return "1.1"; 42 } 43 44 public int getJMSMajorVersion() 45 { 46 return 1; 47 } 48 49 public int getJMSMinorVersion() 50 { 51 return 1; 52 } 53 54 public String getJMSProviderName() 55 { 56 return "JBoss"; 57 } 58 59 public String getProviderVersion() 60 { 61 return "5.0"; 62 } 63 64 public int getProviderMajorVersion() 65 { 66 return 5; 67 } 68 69 public int getProviderMinorVersion() 70 { 71 return 0; 72 } 73 74 public Enumeration getJMSXPropertyNames() 75 { 76 Vector vector = new Vector (); 77 vector.add("JMSXGroupID"); 78 vector.add("JMSXGroupSeq"); 79 vector.add("JMSXDeliveryCount"); 80 return vector.elements(); 81 } 82 } 83 | Popular Tags |