package won.node.camel.processor.facet.ownerFacet;

import org.apache.camel.Exchange;
import org.springframework.stereotype.Component;
import won.node.camel.processor.AbstractFromOwnerCamelProcessor;
import won.node.camel.processor.annotation.FacetMessageProcessor;
import won.protocol.vocabulary.WON;
import won.protocol.vocabulary.WONMSG;

/**
 * User: syim
 * Date: 05.03.2015
 */
@Component
@FacetMessageProcessor(
        facetType =   WON.OWNER_FACET_STRING,
        direction=    WONMSG.TYPE_FROM_OWNER_STRING,
        messageType = WONMSG.TYPE_CONNECT_STRING)
public class ConnectFromOwnerOwnerFacetImpl extends AbstractFromOwnerCamelProcessor
  {
    @Override
    public void process(final Exchange exchange) {
      logger.debug("default facet implementation, not doing anything");
    }

}

@@ -185,32 +185,105 @@
 CamelProcessor;%0A
+import won.node.camel.processor.annotation.DefaultFacetMessageProcessor;%0A
 import won.node.
@@ -461,16 +461,128 @@
 mponent%0A
+@DefaultFacetMessageProcessor(direction=WONMSG.TYPE_FROM_OWNER_STRING,messageType = WONMSG.TYPE_CONNECT_STRING)%0A
 @FacetMe

Add default facet annotation to ConnectFromOwnerOwnerFacetImpl