Package org.jitterbit.integration.client.datalocation.connection

Examples of org.jitterbit.integration.client.datalocation.connection.JmsConnectionTester


        case FTP:
            return new FtpConnectionTester((FtpLocation) loc);
        case HTTP:
            return new HttpConnectionTester((HttpLocation) loc);
        case JMS:
            return new JmsConnectionTester((JmsLocation) loc);
        case LDAP:
            return new LdapConnectionTester((LdapLocation) loc);
        default:
            throw new RuntimeException("Unexpected location type: " + loc.getDataLocationType());
        }
View Full Code Here


            tester.setProgressMonitor(progressMonitor);
            return tester;
        }

        private ConnectionTester visit(JmsLocation loc) {
            JmsConnectionTester tester = new JmsConnectionTester(loc);
            class Callback extends CallbackBase implements JmsSourceConnectionCallback {

                @Override
                public void connected() {
                    AllLocationsTester.this.connectionSucceeded();
                }
            }
            tester.setSourceConnectionCallback(new Callback());
            tester.setProgressMonitor(progressMonitor);
            return tester;
        }
View Full Code Here

            tester.setProgressMonitor(progressMonitor);
            return tester;
        }

        private ConnectionTester visit(JmsLocation loc) {
            JmsConnectionTester tester = new JmsConnectionTester(loc);
            class Callback extends CallbackBase implements JmsTargetConnectionCallback {

                @Override
                public void connected() {
                    AllLocationsTester.this.connectionSucceeded();
                }
            }
            tester.setTargetConnectionCallback(new Callback());
            tester.setProgressMonitor(progressMonitor);
            return tester;
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.datalocation.connection.JmsConnectionTester

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.