| Commit in servicemix/base/src/main/java/org/servicemix/jbi/messaging on MAIN | |||
| MessageExchangeFactoryImpl.java | +2 | -1 | 1.8 -> 1.9 |
defaulted endpoint name on the exchange from activation spec
servicemix/base/src/main/java/org/servicemix/jbi/messaging
diff -u -r1.8 -r1.9 --- MessageExchangeFactoryImpl.java 2 Aug 2005 17:10:09 -0000 1.8 +++ MessageExchangeFactoryImpl.java 2 Aug 2005 18:57:40 -0000 1.9 @@ -37,7 +37,7 @@
/** * Resolver for URI patterns *
- * @version $Revision: 1.8 $
+ * @version $Revision: 1.9 $
*/
public class MessageExchangeFactoryImpl implements MessageExchangeFactory {
@@ -213,6 +213,7 @@
ActivationSpec activationSpec = context.getActivationSpec();
if (activationSpec != null) {
exchange.setOperation(activationSpec.getDestinationOperation());
+ exchange.setEndpointName(activationSpec.getDestinationEndpoint());
}
exchange.setEndpoint(getEndpoint());
exchange.setSourceContext(getContext());
