Package org.jitterbit.integration.jms.provider

Examples of org.jitterbit.integration.jms.provider.JmsProviderStoreException


    public void storeUserDefinedProvider(JmsProvider provider) throws JmsProviderStoreException {
        if (!provider.isUserDefined()) {
            throw new IllegalArgumentException("provider.isUserDefined() must be true");
        }
        if (!isProviderIdAvailable(provider)) {
            throw new JmsProviderStoreException("A system provider with the name " +
                            provider.getName() + " already exists and cannot be replaced. " +
                            "Please choose another name.");
        }
        getUserDefinedProviderStore().addProvider(provider);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.jms.provider.JmsProviderStoreException

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.