Examples of JmsProviderType


Examples of org.jboss.soa.esb.listeners.config.xbeanmodel101.JmsProviderType

   * @throws ConfigurationException Invalid listener configuration.
   */
  public static Element map(Element root, JmsListener listener, XMLBeansModel model) throws ConfigurationException {
    Element listenerNode = YADOMUtil.addElement(root, "listener");
    JmsBus bus;
    JmsProviderType provider;

        listenerNode.setAttribute("name", listener.getName());

    try {
      bus = (JmsBus) model.getBus(listener.getBusidref());
View Full Code Here

Examples of org.jboss.soa.esb.listeners.config.xbeanmodel101.JmsProviderType

    final InputStream is = getClass().getResourceAsStream("jbossesb_config_01.xml");
    final Reader reader = new InputStreamReader(is) ;
    XMLBeansModel model = new XMLBeansModel(Factory.parse(reader).getJbossesb());

    JmsBus bus = (JmsBus)model.getBus("server1-jms");
    JmsProviderType provider = (JmsProviderType) model.getProvider(bus);
    assertEquals("server1-jms", bus.getBusid());
    assertEquals("com.xyz.provider.XYZConnectionFactory", provider.getConnectionFactory());
    assertEquals("com.xyz.provider.NamingContextFactory", provider.getJndiContextFactory());
    assertEquals("xyz://server1:9876", provider.getJndiURL());
    assertEquals("com.xyz", provider.getJndiPkgPrefix());
    JmsMessageFilter busDestination = bus.getJmsMessageFilter();
    assertEquals("queue/A", busDestination.getDestName());
    assertEquals(JmsMessageFilter.DestType.QUEUE, busDestination.getDestType());
    assertEquals("service='Reconciliation'", busDestination.getSelector());
View Full Code Here

Examples of org.jboss.soa.esb.listeners.config.xbeanmodel110.JmsProviderType

   * @throws ConfigurationException Invalid listener configuration.
   */
  public static Element map(Element root, JmsListener listener, XMLBeansModel model) throws ConfigurationException {
    Element listenerNode = YADOMUtil.addElement(root, "listener");
    JmsBus bus;
    JmsProviderType provider;

        listenerNode.setAttribute("name", listener.getName());

    try {
      bus = (JmsBus) model.getBus(listener.getBusidref());
View Full Code Here

Examples of org.jboss.soa.esb.listeners.config.xbeanmodel110.JmsProviderType

    final InputStream is = getClass().getResourceAsStream("jbossesb_config_01.110.xml");
    final Reader reader = new InputStreamReader(is) ;
    XMLBeansModel model = new XMLBeansModel(Factory.parse(reader).getJbossesb());

    JmsBus bus = (JmsBus)model.getBus("server1-jms");
    JmsProviderType provider = (JmsProviderType) model.getProvider(bus);
    assertEquals("server1-jms", bus.getBusid());
    assertEquals("com.xyz.provider.XYZConnectionFactory", provider.getConnectionFactory());
    assertEquals("com.xyz.provider.NamingContextFactory", provider.getJndiContextFactory());
    assertEquals("xyz://server1:9876", provider.getJndiURL());
    assertEquals("com.xyz", provider.getJndiPkgPrefix());
    JmsMessageFilter busDestination = bus.getJmsMessageFilter();
    assertEquals("queue/A", busDestination.getDestName());
    assertEquals(JmsMessageFilter.DestType.QUEUE, busDestination.getDestType());
    assertEquals("service='Reconciliation'", busDestination.getSelector());
View Full Code Here

Examples of org.jboss.soa.esb.listeners.config.xbeanmodel120.JmsProviderType

   * @throws org.jboss.soa.esb.ConfigurationException Invalid listener configuration.
   */
  public static Element map(Element root, JmsListener listener, XMLBeansModel model) throws ConfigurationException {
    Element listenerNode = YADOMUtil.addElement(root, "listener");
    JmsBus bus;
    JmsProviderType provider;

        listenerNode.setAttribute("name", listener.getName());

    try {
      bus = (JmsBus) model.getBus(listener.getBusidref());
View Full Code Here

Examples of org.jboss.soa.esb.listeners.config.xbeanmodel120.JmsProviderType

    final InputStream is = getClass().getResourceAsStream("jbossesb_config_01.120.xml");
    final Reader reader = new InputStreamReader(is) ;
    XMLBeansModel model = new XMLBeansModel(Factory.parse(reader).getJbossesb());

    JmsBus bus = (JmsBus)model.getBus("server1-jms");
    JmsProviderType provider = (JmsProviderType) model.getProvider(bus);
    assertEquals("server1-jms", bus.getBusid());
    assertEquals("com.xyz.provider.XYZConnectionFactory", provider.getConnectionFactory());
    assertEquals("com.xyz.provider.NamingContextFactory", provider.getJndiContextFactory());
    assertEquals("xyz://server1:9876", provider.getJndiURL());
    assertEquals("com.xyz", provider.getJndiPkgPrefix());
    JmsMessageFilter busDestination = bus.getJmsMessageFilter();
    assertEquals("queue/A", busDestination.getDestName());
    assertEquals(JmsMessageFilter.DestType.QUEUE, busDestination.getDestType());
    assertEquals("service='Reconciliation'", busDestination.getSelector());
View Full Code Here

Examples of org.jboss.soa.esb.listeners.config.xbeanmodel130.JmsProviderType

   * @throws org.jboss.soa.esb.ConfigurationException Invalid listener configuration.
   */
  public static Element map(Element root, JmsListener listener, XMLBeansModel model) throws ConfigurationException {
    Element listenerNode = YADOMUtil.addElement(root, "listener");
    JmsBus bus;
    JmsProviderType provider;

        listenerNode.setAttribute("name", listener.getName());

    try {
      bus = (JmsBus) model.getBus(listener.getBusidref());
View Full Code Here

Examples of org.jboss.soa.esb.listeners.config.xbeanmodel130.JmsProviderType

    final InputStream is = getClass().getResourceAsStream("jbossesb_config_01.130.xml");
    final Reader reader = new InputStreamReader(is) ;
    XMLBeansModel model = new XMLBeansModel(Factory.parse(reader).getJbossesb());

    JmsBus bus = (JmsBus)model.getBus("server1-jms");
    JmsProviderType provider = (JmsProviderType) model.getProvider(bus);
    assertEquals("server1-jms", bus.getBusid());
    assertEquals("com.xyz.provider.XYZConnectionFactory", provider.getConnectionFactory());
    assertEquals("com.xyz.provider.NamingContextFactory", provider.getJndiContextFactory());
    assertEquals("xyz://server1:9876", provider.getJndiURL());
    assertEquals("com.xyz", provider.getJndiPkgPrefix());
    JmsMessageFilter busDestination = bus.getJmsMessageFilter();
    assertEquals("queue/A", busDestination.getDestName());
    assertEquals(JmsMessageFilter.DestType.QUEUE, busDestination.getDestType());
    assertEquals("service='Reconciliation'", busDestination.getSelector());
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.