Package org.apache.camel

Examples of org.apache.camel.ComponentConfiguration.completeEndpointPath()


        }
        Component component = context.getComponent(componentName, false);
        if (component != null) {
            ComponentConfiguration configuration = component.createComponentConfiguration();
            configuration.setParameters(endpointParameters);
            return configuration.completeEndpointPath(completionText);
        } else {
            return new ArrayList<String>();
        }
    }
View Full Code Here


        }
        Component component = context.getComponent(componentName, false);
        if (component != null) {
            ComponentConfiguration configuration = component.createComponentConfiguration();
            configuration.setParameters(endpointParameters);
            return configuration.completeEndpointPath(completionText);
        } else {
            return new ArrayList<String>();
        }
    }
View Full Code Here

        }
        Component component = context.getComponent(componentName, false);
        if (component != null) {
            ComponentConfiguration configuration = component.createComponentConfiguration();
            configuration.setParameters(endpointParameters);
            return configuration.completeEndpointPath(completionText);
        } else {
            return new ArrayList<String>();
        }
    }
View Full Code Here

        }
        Component component = context.getComponent(componentName, false);
        if (component != null) {
            ComponentConfiguration configuration = component.createComponentConfiguration();
            configuration.setParameters(endpointParameters);
            return configuration.completeEndpointPath(completionText);
        } else {
            return new ArrayList<String>();
        }
    }
View Full Code Here

    public void testEndpointCompletion() throws Exception {
        Component component = context().getComponent(componentName);
        ComponentConfiguration configuration = component.createComponentConfiguration();

        // get operation names
        assertCompletionOptions(configuration.completeEndpointPath(""),
            "getVersions", "getResources", "getGlobalObjects", "getBasicInfo", "getDescription", "getSObject",
            "createSObject", "updateSObject", "deleteSObject", "getSObjectWithId", "upsertSObject",
            "deleteSObjectWithId", "getBlobField", "query", "queryMore", "search", "createJob", "getJob",
            "closeJob", "abortJob", "createBatch", "getBatch", "getAllBatches", "getRequest", "getResults",
            "createBatchQuery", "getQueryResultIds", "getQueryResult", "[PushTopicName]"
View Full Code Here

            "closeJob", "abortJob", "createBatch", "getBatch", "getAllBatches", "getRequest", "getResults",
            "createBatchQuery", "getQueryResultIds", "getQueryResult", "[PushTopicName]"
        );

        // get filtered operation names
        assertCompletionOptions(configuration.completeEndpointPath("get"),
            "getVersions", "getResources", "getGlobalObjects", "getBasicInfo", "getDescription", "getSObject",
            "getSObjectWithId", "getBlobField", "getJob", "getBatch", "getAllBatches", "getRequest", "getResults",
            "getQueryResultIds", "getQueryResult"
        );
View Full Code Here

            "sObjectName", "sObjectId", "sObjectFields",
            "sObjectIdName", "sObjectIdValue", "sObjectBlobFieldName", "sObjectClass", "sObjectQuery", "sObjectSearch");
*/

        // get sObjectName values, from scanned DTO packages
        assertCompletionOptions(configuration.completeEndpointPath("getSObject?sObjectName="),
            "Document", "Line_Item__c", "Merchandise__c");

        // get sObjectFields values, from scanned DTO
        assertCompletionOptions(
            configuration.completeEndpointPath("getSObject?sObjectName=Merchandise__c&sObjectFields="),
View Full Code Here

        assertCompletionOptions(configuration.completeEndpointPath("getSObject?sObjectName="),
            "Document", "Line_Item__c", "Merchandise__c");

        // get sObjectFields values, from scanned DTO
        assertCompletionOptions(
            configuration.completeEndpointPath("getSObject?sObjectName=Merchandise__c&sObjectFields="),
            "attributes", "Id", "OwnerId", "IsDeleted", "Name", "CreatedDate", "CreatedById",
            "LastModifiedDate", "LastModifiedById", "SystemModstamp", "LastActivityDate",
            "Description__c", "Price__c", "Total_Inventory__c");

        // get sObjectClass values, from scanned DTO packages
View Full Code Here

            "attributes", "Id", "OwnerId", "IsDeleted", "Name", "CreatedDate", "CreatedById",
            "LastModifiedDate", "LastModifiedById", "SystemModstamp", "LastActivityDate",
            "Description__c", "Price__c", "Total_Inventory__c");

        // get sObjectClass values, from scanned DTO packages
        assertCompletionOptions(configuration.completeEndpointPath("getSObject?sObjectClass="),
            Document.class.getName(),
            Line_Item__c.class.getName(),
            Merchandise__c.class.getName(),
            QueryRecordsLine_Item__c.class.getName());
    }
View Full Code Here

        }
        Component component = context.getComponent(componentName, false);
        if (component != null) {
            ComponentConfiguration configuration = component.createComponentConfiguration();
            configuration.setParameters(endpointParameters);
            return configuration.completeEndpointPath(completionText);
        } else {
            return new ArrayList<String>();
        }
    }
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.