Community

Annotation based Action classes

reply from Brad Davis in JBoss ESB Development - View the full discussion

Tom, perhaps we should add another annotation for where the response should be placed back into the message.

 

Additionally, I think we should be able to override the default location annotations in the XML configurations.  Have you thought about what will happen with overloaded methods?  For example, if someone writes:

 

 

@ProcessMethod
public String printHttpRequestInfo(@BodyParam byte[] httpPayload, @PropertyParam HttpRequest requestInfo ){
 
}
 
@ProcessMethod
public String printHttpRequestInfo(@BodyParam byte[] httpPayload){
 
}
 
 
 
 
 

Reply to this message by going to Community

Start a new discussion in JBoss ESB Development at Community