<commit_before>/**
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.camel.component.aws.swf;

import java.util.Map;

import com.amazonaws.services.simpleworkflow.AmazonSimpleWorkflowClient;
import com.amazonaws.services.simpleworkflow.flow.ActivitySchedulingOptions;
import com.amazonaws.services.simpleworkflow.flow.DataConverter;
import com.amazonaws.services.simpleworkflow.flow.WorkflowTypeRegistrationOptions;
import com.amazonaws.services.simpleworkflow.flow.worker.ActivityTypeExecutionOptions;
import com.amazonaws.services.simpleworkflow.flow.worker.ActivityTypeRegistrationOptions;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriParams;
import org.apache.camel.spi.UriPath;

@UriParams
public class SWFConfiguration {

    private Map<String, Object> clientConfigurationParameters;
    private Map<String, Object> sWClientParameters;
    private Map<String, Object> startWorkflowOptionsParameters;

    @UriPath
    private String type;
    @UriParam
    private AmazonSimpleWorkflowClient amazonSWClient;
    @UriParam
    private String accessKey;
    @UriParam
    private String secretKey;
    @UriParam
    private String operation;
    @UriParam
    private String domainName;
    @UriParam
    private String activityList;
    @UriParam
    private String workflowList;
    @UriParam
    private String eventName;
    @UriParam
    private String version;
    @UriParam
    private String signalName;
    @UriParam
    private String childPolicy;
    @UriParam
    private String terminationReason;
    @UriParam
    private String stateResultType;
    @UriParam
    private String terminationDetails;
    @UriParam
    private DataConverter dataConverter;
    @UriParam
    private ActivitySchedulingOptions activitySchedulingOptions;
    @UriParam
    private ActivityTypeExecutionOptions activityTypeExecutionOptions;
    @UriParam
    private ActivityTypeRegistrationOptions activityTypeRegistrationOptions;
    @UriParam
    private WorkflowTypeRegistrationOptions workflowTypeRegistrationOptions;
    @UriParam
    private int activityThreadPoolSize = 100; // aws-sdk default

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getDomainName() {
        return domainName;
    }

    public void setDomainName(String domainName) {
        this.domainName = domainName;
    }<commit_msg>CAMEL-8375: activity task thread pool is not configurable<commit_after>/**
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.camel.component.aws.swf;

import java.util.Map;

import com.amazonaws.services.simpleworkflow.AmazonSimpleWorkflowClient;
import com.amazonaws.services.simpleworkflow.flow.ActivitySchedulingOptions;
import com.amazonaws.services.simpleworkflow.flow.DataConverter;
import com.amazonaws.services.simpleworkflow.flow.WorkflowTypeRegistrationOptions;
import com.amazonaws.services.simpleworkflow.flow.worker.ActivityTypeExecutionOptions;
import com.amazonaws.services.simpleworkflow.flow.worker.ActivityTypeRegistrationOptions;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriParams;
import org.apache.camel.spi.UriPath;

@UriParams
public class SWFConfiguration {

    private Map<String, Object> clientConfigurationParameters;
    private Map<String, Object> sWClientParameters;
    private Map<String, Object> startWorkflowOptionsParameters;

    @UriPath
    private String type;
    @UriParam
    private AmazonSimpleWorkflowClient amazonSWClient;
    @UriParam
    private String accessKey;
    @UriParam
    private String secretKey;
    @UriParam
    private String operation;
    @UriParam
    private String domainName;
    @UriParam
    private String activityList;
    @UriParam
    private String workflowList;
    @UriParam
    private String eventName;
    @UriParam
    private String version;
    @UriParam
    private String signalName;
    @UriParam
    private String childPolicy;
    @UriParam
    private String terminationReason;
    @UriParam
    private String stateResultType;
    @UriParam
    private String terminationDetails;
    @UriParam
    private DataConverter dataConverter;
    @UriParam
    private ActivitySchedulingOptions activitySchedulingOptions;
    @UriParam
    private ActivityTypeExecutionOptions activityTypeExecutionOptions;
    @UriParam
    private ActivityTypeRegistrationOptions activityTypeRegistrationOptions;
    @UriParam
    private WorkflowTypeRegistrationOptions workflowTypeRegistrationOptions;
    @UriParam(defaultValue = "100")
    private int activityThreadPoolSize = 100; // aws-sdk default

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getDomainName() {
        return domainName;
    }

    public void setDomainName(String domainName) {
        this.domainName = domainName;
    }
{'fraction_non_alphanumeric': 0.061531715872551886, 'fraction_numerical': 0.0030692779888921366, 'mean_word_length': 3.962291515591008, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '684444', 'n_tokens_mistral': 1756, 'n_tokens_neox': 1723, 'n_words': 550}