InboundEndpoint inboundEndpoint;
for (int i = 0; i < componentFactoryClass.getAnnotations().length; i++)
{
Annotation annotation = componentFactoryClass.getAnnotations()[i];
inboundEndpoint = tryInboundEndpointAnnotation(
new AnnotationMetaData(componentFactoryClass, null, ElementType.TYPE, annotation), ChannelType.Reply);
if (inboundEndpoint != null)
{
service.getAsyncReplyMessageSource().addSource(inboundEndpoint);
}
}