Package org.apache.camel.component.bean

Examples of org.apache.camel.component.bean.BeanEndpoint


*/
public class BeanEndpointFactory implements FactoryBean {
    private boolean singleton = true;

    public Object getObject() throws Exception {
        return new BeanEndpoint();
    }
View Full Code Here


    private Context context;
    private Properties properties;

    @Override
    protected Endpoint createEndpoint(String uri, String remaining, Map<String, Object> parameters) throws Exception {
        BeanEndpoint answer = new BeanEndpoint(uri, this);
        answer.setBeanName(remaining);

        // plugin registry to lookup in jndi for the EJBs
        Registry registry = new JndiRegistry(getContext());
        answer.setBeanHolder(new EjbRegistryBean(registry, getCamelContext(), answer.getBeanName()));

        Processor processor = answer.getProcessor();
        setProperties(processor, parameters);
        return answer;
    }
View Full Code Here

    private Context context;
    private Properties properties;

    @Override
    protected Endpoint createEndpoint(String uri, String remaining, Map<String, Object> parameters) throws Exception {
        BeanEndpoint answer = new BeanEndpoint(uri, this);
        answer.setBeanName(remaining);

        // plugin registry to lookup in jndi for the EJBs
        Registry registry = new JndiRegistry(getContext());
        answer.setBeanHolder(new EjbRegistryBean(registry, getCamelContext(), answer.getBeanName()));

        Processor processor = answer.getProcessor();
        setProperties(processor, parameters);
        return answer;
    }
View Full Code Here

TOP

Related Classes of org.apache.camel.component.bean.BeanEndpoint

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.