com.mitobit.camel.component.nexmo.NexmoComponent Maven / Gradle / Ivy
package com.mitobit.camel.component.nexmo;
import java.util.Map;
import org.apache.camel.Endpoint;
import org.apache.camel.impl.DefaultComponent;
import org.apache.camel.spi.UriEndpoint;
/**
* Represents the component that manages {@link NexmoEndpoint}.
*
* @author Michele Blasi
*/
@UriEndpoint(title = "Nexmo", scheme = "nexmo", consumerClass = NexmoConsumer.class, consumerPrefix = "consumer", syntax = "nexmo")
public class NexmoComponent extends DefaultComponent {
@Override
protected Endpoint createEndpoint(String uri, String remaining, Map parameters) throws Exception {
Endpoint endpoint = new NexmoEndpoint(uri, this);
setProperties(endpoint, parameters);
return endpoint;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy