Relative Content

Tag Archive for javaapache-camelquarkus

Unable to send message specific signed MDN response in Apache Camel AS2 library

I am using the Apache Camel AS2 library in my Java project where I have implemented an AS2 server.
Currently, I’m generating a signed MDN response by configuring the certificate and algorithm in the server endpoint configuration, and it is working fine. However, I want to sign the MDN based on the AS2 request, where in headers, I will get the Mic algorithm that the user has requested. So, I want to sign using one of those algorithm at runtime, instead of hard-coding the algorithm at the endpoint creation.

Apache Camel route only working once on startup

I’ve been working with Apache Camel and Quarkus to create a route that returns the file count from a directory on an SFTP server. The route works fine the first time I run the program, as it correctly returns the file count in the directory (5 files), but only once. After that, I need to restart the program because it returns 0 every time I try to get the file count again. As I mentioned, this issue is resolved by restarting the program. Any ideas on how to fix this behavior?