Search in sources :

Example 1 with DestinationData

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

the class DestinationMetadataProducer method createDestinationData.

@Produces
@Named("nplDestinationData")
public DestinationData createDestinationData() {
    DestinationData data = RfcFactory.eINSTANCE.createDestinationData();
    data.setAshost("nplhost");
    data.setSysnr("42");
    data.setClient("001");
    data.setUser("developer");
    data.setPasswd("ch4ngeme");
    data.setLang("en");
    return data;
}
Also used : DestinationData(org.fusesource.camel.component.sap.model.rfc.DestinationData) Named(javax.inject.Named) Produces(javax.enterprise.inject.Produces)

Aggregations

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