New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a way to send response object from file instead from citrus-context #121

Closed
puneetkh opened this Issue Aug 10, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@puneetkh

puneetkh commented Aug 10, 2016

Including the response message for citrus:server in citrus-context makes the file to become painfully long and comprehensible. There should be a way to send the response object by directly reading from a file:

public class MyFileResourceAdapterImpl extends StaticEndpointAdapter {
    @Override
    public Message handleMessageInternal(Message message) {
        return new DefaultMessage(context.replaceDynamicContentInString(*fileContent*), messageHeader);
    } 
}

puneetkh added a commit to puneetkh/citrus that referenced this issue Aug 11, 2016

@christophd christophd self-assigned this Sep 22, 2016

@christophd christophd removed the IN PROGRESS label Sep 22, 2016

@christophd christophd added this to the v2.6.1 milestone Sep 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment