JBoss Community

Setting EPR to a message

created by Martin MyslĂ­k in JBoss ESB Development - View the full discussion

Hi, this may be a silly question but I got stuck with a very basic thing. I am sending an esb-aware message and I would like to add an EPR to its header like:

 

msg.getHeader().getCall().setFrom(EPR);

 

But how do I find what EPR belongs to the sending service? Is there any function that returns it? I was looking in the documentation but it doesnt seem that a service comes provided with that kind of function (like this.getEPR() or something like that),

 

Thanks for any tips...

Reply to this message by going to Community

Start a new discussion in JBoss ESB Development at Community