Search in sources :

Example 1 with ServerData

use of org.fusesource.camel.component.sap.model.rfc.ServerData in project quickstarts by jboss-switchyard.

the class ServerMetadataProducer method createNplServerData.

@Produces
@Named("nplServerData")
public ServerData createNplServerData() {
    ServerData data = RfcFactory.eINSTANCE.createServerData();
    data.setGwhost("nplhost");
    data.setGwserv("3342");
    data.setProgid("JCO_SERVER");
    data.setRepositoryDestination("nplDest");
    data.setConnectionCount("2");
    data.setTrace("1");
    return data;
}
Also used : ServerData(org.fusesource.camel.component.sap.model.rfc.ServerData) Named(javax.inject.Named) Produces(javax.enterprise.inject.Produces)

Aggregations

Produces (javax.enterprise.inject.Produces)1 Named (javax.inject.Named)1 ServerData (org.fusesource.camel.component.sap.model.rfc.ServerData)1