Package javax.jbi

Examples of javax.jbi.JBIException


            LOG.info("Celtix Service Engine installation root:" + componentContext.getInstallRoot());
            LOG.info("CeltixServiceEngine init complete");
        } catch (Throwable ex) {
            ex.printStackTrace();
            LOG.log(Level.SEVERE, "failed to initilialize bus", ex);
            throw new JBIException(ex);
        }
    }
View Full Code Here


            LOG.fine("initialising bus");
            bus = Bus.init();
            LOG.fine("init complete");
        } catch (Exception ex) {
            LOG.log(Level.SEVERE, "bus initialization failed", ex);
            throw new JBIException(ex);
        }
    }
View Full Code Here

            LOG.fine("CeltixServiceEngine starting");
            DeliveryChannel chnl = ctx.getDeliveryChannel();
            configureJBITransportFactory(chnl, suManager);
            LOG.fine("CeltixServiceEngine startup complete");
        } catch (BusException ex) {
            throw new JBIException(ex);
        }
    }
View Full Code Here

        try {
          
            getTransportFactory().init(argBus);
            getTransportFactory().setServiceUnitManager(mgr);
        } catch (Exception ex) {
            throw new JBIException("failed to register JBI transport factory", ex);
        }
    }
View Full Code Here

                i++;
            }
           
            return new ComponentClassLoader(urls, getClass().getClassLoader());
        } catch (MalformedURLException ex) {
            throw new JBIException("failed to construct component classloader", ex);
        }
    }
View Full Code Here

            Queue queue = inboundSession.createQueue(INBOUND_PREFIX + broker.getContainer().getName());
            MessageConsumer inboundQueue = inboundSession.createConsumer(queue);
            inboundQueue.setMessageListener(this);
        } catch (JMSException e) {
            LOGGER.error("Failed to initialize JMSFlow", e);
            throw new JBIException(e);
        }
    }
View Full Code Here

                    }
                }

                startConsumerMonitor();
            } catch (JMSException e) {
                JBIException jbiEx = new JBIException("JMSException caught in start: " + e.getMessage());
                throw jbiEx;
            }
        }
    }
View Full Code Here

                        IntrospectionSupport.setProperties(value, map);
                    }
                }
                return (Flow) value;
            }
            throw new JBIException("No implementation found for: " + flow);
        } catch (IllegalAccessException e) {
            LOGGER.error("getFlow(" + flow + " failed: " + e, e);
            throw new JBIException(e);
        } catch (InstantiationException e) {
            LOGGER.error("getFlow(" + flow + " failed: " + e, e);
            throw new JBIException(e);
        } catch (IOException e) {
            LOGGER.error("getFlow(" + flow + " failed: " + e, e);
            throw new JBIException(e);
        } catch (ClassNotFoundException e) {
            LOGGER.error("getFlow(" + flow + " failed: " + e, e);
            throw new JBIException(e);
        } catch (URISyntaxException e) {
            LOGGER.error("getFlow(" + flow + " failed: " + e, e);
            throw new JBIException(e);
        }
    }
View Full Code Here

        // register self with the management context
        ObjectName objectName = br.getContainer().getManagementContext().createObjectName(this);
        try {
            br.getContainer().getManagementContext().registerMBean(objectName, this, LifeCycleMBean.class);
        } catch (JMException e) {
            throw new JBIException("Failed to register MBean with the ManagementContext", e);
        }
    }
View Full Code Here

            // Inbound broadcast
            broadcastTopic = new ActiveMQTopic(broadcastDestinationName);
            advisoryTopic = AdvisorySupport.getConsumerAdvisoryTopic((ActiveMQDestination) broadcastTopic);
        } catch (Exception e) {
            LOGGER.error("Failed to initialize JCAFlow", e);
            throw new JBIException(e);
        }
    }
View Full Code Here

TOP

Related Classes of javax.jbi.JBIException

Copyright © 2018 www.massapicom. 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.