Search in sources :

Example 1 with SapConnectionConfiguration

use of org.fusesource.camel.component.sap.SapConnectionConfiguration in project quickstarts by jboss-switchyard.

the class CamelSAPConnectionConfigurationProducer method create.

@Produces
@Named("sap-configuration")
public SapConnectionConfiguration create(@Named("destinationDataStore") Map<String, DestinationData> destinationDataStore, @Named("serverDataStore") Map<String, ServerData> serverDataStore) {
    SapConnectionConfiguration conf = new SapConnectionConfiguration();
    conf.setDestinationDataStore(destinationDataStore);
    conf.setServerDataStore(serverDataStore);
    return conf;
}
Also used : SapConnectionConfiguration(org.fusesource.camel.component.sap.SapConnectionConfiguration) Named(javax.inject.Named) Produces(javax.enterprise.inject.Produces)

Aggregations

Produces (javax.enterprise.inject.Produces)1 Named (javax.inject.Named)1 SapConnectionConfiguration (org.fusesource.camel.component.sap.SapConnectionConfiguration)1