如何解决连接ECONNREFUSED 127.0.0.1:2775 SMppsim-selenium-tool

问题描述

我正在使用Camel SMPP发送和接收SMS的任务,根据以下教程,我遵循了完全相同的教程。

https://medium.com/@pasindusenerath/exposing-rest-endpoint-to-send-sms-using-apache-camel-springboot-and-smpp-protocol-7f0ef53a5a55

在此发送邮递员请求作为邮件属性。但是邮递员给我错误:连接ECONNREFUSED 127.0.0.1:2775

这是我的应用程序。属性

smpp.tr.systemid=smppclient
smpp.tr.host=localhost
smpp.tr.port=8080
smpp.tr.password=password
smpp.source.addr.ton=5
smpp.source.addr.npi=1
smpp.dest.addr.to=0
smpp.dest.addr.npi=0
smpp.dest.addr.ton=0
smpp.source.address=TEST
server.contextPath=/sms-route

配置类似的类

public void configure() throws Exception {
String log = "log:org.smsrouter?level=INFO";
restConfiguration().component("servlet").bindingMode(RestBindingMode.json);

        rest("/message")
                .post("/add").consumes(MediaType.APPLICATION_JSON_VALUE).type(Message.class).outType(Message.class)
                .to("seda:newMessage");


        from("seda:newMessage?concurrentConsumers=20").routeId("smpp-sender").process(messageProcessor)
                .setHeader("CamelSmppDestAddr",simple("94${in.body.sender}"))
                .setBody(simple("${in.body.messageBody}"))
                .to(log);

    }
}

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...