org.apache.servicemix.nmr.api
Interface Wire


public interface Wire

Represents a wire to an endpoint. It provides a means of linking another set of endpoint properties to an existing endpoint. A wire can be created using ServiceHelper.createWire(Map, Map) and needs to be registered in the WireRegistry to take effect. A wire allows you to link one


Method Summary
 java.util.Map<java.lang.String,?> getFrom()
          Get the new address made available by the wire.
 java.util.Map<java.lang.String,?> getTo()
          Get the target endpoint that is accessed when sending something to the from address
 

Method Detail

getFrom

java.util.Map<java.lang.String,?> getFrom()
Get the new address made available by the wire.

Returns:
the new address

getTo

java.util.Map<java.lang.String,?> getTo()
Get the target endpoint that is accessed when sending something to the from address

Returns:
the target endpoint


Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.