骆驼应用在哪里开始?
I have installed Camel plugin for IntelliJ.
To start debugging, we must create an ad-hoc application
How do you know exactly at what port application is locally loaded? How can I change it? I have found no configurations about...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无需提供端口。调试器使用其PID直接附加到应用程序。您需要确保添加骆驼倾角依赖性。我建议将其添加到如下所示的配置文件 https://github.com/apache/camel-examples/blob/d1e5022bb1b435659035903590aefaf91bcf91bcf23fc9c78/examples/examples/main/main/main/pom.xml.xml.xml#l105-l120
)
You do not need to provide a port. The debugger is attaching directly to the application using its pid. You need to be sure that the camel-debug dependency is added. I recommened to add it through a profile like shown here https://github.com/apache/camel-examples/blob/d1e5022bb1b43565903359aefaf91bcf23fc9c78/examples/main/pom.xml#L105-L120
Please note that you need a recent version of Camel (3.16 I think)