Updated Branches: refs/heads/master 3a42ec177 -> dad09036d
CAMEL-6250: Setting id on endpoint in <from> may not work - removed the test as this is not a problem Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/dad09036 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/dad09036 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/dad09036 Branch: refs/heads/master Commit: dad09036d8edb3ea99a7659bfc5093033ffa6c81 Parents: 3a42ec1 Author: cmueller <cmuel...@apache.org> Authored: Tue Jul 9 23:45:30 2013 +0200 Committer: cmueller <cmuel...@apache.org> Committed: Tue Jul 9 23:45:30 2013 +0200 ---------------------------------------------------------------------- .../spring/issues/EndpointIdIssueTest.java | 45 -------------------- 1 file changed, 45 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/dad09036/components/camel-spring/src/test/java/org/apache/camel/spring/issues/EndpointIdIssueTest.java ---------------------------------------------------------------------- diff --git a/components/camel-spring/src/test/java/org/apache/camel/spring/issues/EndpointIdIssueTest.java b/components/camel-spring/src/test/java/org/apache/camel/spring/issues/EndpointIdIssueTest.java deleted file mode 100644 index 6f7f54c..0000000 --- a/components/camel-spring/src/test/java/org/apache/camel/spring/issues/EndpointIdIssueTest.java +++ /dev/null @@ -1,45 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.spring.issues; - -import org.apache.camel.Exchange; -import org.apache.camel.Processor; -import org.apache.camel.impl.DefaultEndpoint; -import org.apache.camel.spring.SpringTestSupport; -import org.junit.Ignore; -import org.springframework.context.support.AbstractXmlApplicationContext; -import org.springframework.context.support.ClassPathXmlApplicationContext; - -@Ignore -public class EndpointIdIssueTest extends SpringTestSupport { - - @Override - protected AbstractXmlApplicationContext createApplicationContext() { - return new ClassPathXmlApplicationContext("org/apache/camel/spring/issues/EndpointIdIssueTest.xml"); - } - - public void testSpring() throws Exception { - Exchange response = template.request("direct:start", new Processor() { - public void process(Exchange exchange) throws Exception { - DefaultEndpoint fromEndpoint = (DefaultEndpoint) exchange.getFromEndpoint(); - assertEquals("myCamelFromEndpint", fromEndpoint.getId()); - } - }); - - assertNotNull(response); - } -}