Author: davsclaus
Date: Thu Oct 7 06:08:44 2010
New Revision: 1005335
URL: http://svn.apache.org/viewvc?rev=1005335&view=rev
Log:
Fixed examples.
Added:
camel/trunk/examples/camel-example-reportincident-ws-security-osgi/src/main/resources/META-INF/
- copied from r1005331,
camel/trunk/examples/camel-example-reportincident-ws-security-osgi/src/main/resources/etc/META-INF/
Removed:
camel/trunk/examples/camel-example-reportincident-ws-security-osgi/src/main/resources/etc/META-INF/
Modified:
camel/trunk/examples/camel-example-reportincident-ws-security-osgi/pom.xml
camel/trunk/examples/camel-example-reportincident-ws-security-osgi/src/main/java/org/apache/camel/example/reportincident/MyBean.java
camel/trunk/examples/camel-example-reportincident-ws-security-osgi/src/main/java/org/apache/camel/example/reportincident/ReportIncidentRoutes.java
camel/trunk/examples/camel-example-reportincident/src/main/java/org/apache/camel/example/reportincident/MyBean.java
Modified:
camel/trunk/examples/camel-example-reportincident-ws-security-osgi/pom.xml
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident-ws-security-osgi/pom.xml?rev=1005335&r1=1005334&r2=1005335&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-reportincident-ws-security-osgi/pom.xml
(original)
+++ camel/trunk/examples/camel-example-reportincident-ws-security-osgi/pom.xml
Thu Oct 7 06:08:44 2010
@@ -156,13 +156,6 @@
<build>
- <resources>
- <resource>
- <directory>src/main/resources/etc</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
-
<plugins>
<!-- to compile with 1.5 -->
Modified:
camel/trunk/examples/camel-example-reportincident-ws-security-osgi/src/main/java/org/apache/camel/example/reportincident/MyBean.java
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident-ws-security-osgi/src/main/java/org/apache/camel/example/reportincident/MyBean.java?rev=1005335&r1=1005334&r2=1005335&view=diff
==============================================================================
---
camel/trunk/examples/camel-example-reportincident-ws-security-osgi/src/main/java/org/apache/camel/example/reportincident/MyBean.java
(original)
+++
camel/trunk/examples/camel-example-reportincident-ws-security-osgi/src/main/java/org/apache/camel/example/reportincident/MyBean.java
Thu Oct 7 06:08:44 2010
@@ -14,13 +14,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.camel.example.reportincident;
-/**
- *
- */
public class MyBean {
+
public OutputReportIncident getOK() {
OutputReportIncident ok = new OutputReportIncident();
ok.setCode("0");
Modified:
camel/trunk/examples/camel-example-reportincident-ws-security-osgi/src/main/java/org/apache/camel/example/reportincident/ReportIncidentRoutes.java
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident-ws-security-osgi/src/main/java/org/apache/camel/example/reportincident/ReportIncidentRoutes.java?rev=1005335&r1=1005334&r2=1005335&view=diff
==============================================================================
---
camel/trunk/examples/camel-example-reportincident-ws-security-osgi/src/main/java/org/apache/camel/example/reportincident/ReportIncidentRoutes.java
(original)
+++
camel/trunk/examples/camel-example-reportincident-ws-security-osgi/src/main/java/org/apache/camel/example/reportincident/ReportIncidentRoutes.java
Thu Oct 7 06:08:44 2010
@@ -41,7 +41,7 @@ public class ReportIncidentRoutes extend
// endpoint to our CXF webservice
// We should use the related path to publish the service, when using
the ServletTransport
- // so we need to configure set the bus which is configured to use the
ServletTranspot
+ // so we need to configure set the bus which is configured to use the
ServletTransport
String cxfEndpointAddress = "cxf:/incident?bus=#cxf&";
// Using the full http address for stand alone running
if (!usingServletTransport) {
Modified:
camel/trunk/examples/camel-example-reportincident/src/main/java/org/apache/camel/example/reportincident/MyBean.java
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident/src/main/java/org/apache/camel/example/reportincident/MyBean.java?rev=1005335&r1=1005334&r2=1005335&view=diff
==============================================================================
---
camel/trunk/examples/camel-example-reportincident/src/main/java/org/apache/camel/example/reportincident/MyBean.java
(original)
+++
camel/trunk/examples/camel-example-reportincident/src/main/java/org/apache/camel/example/reportincident/MyBean.java
Thu Oct 7 06:08:44 2010
@@ -14,16 +14,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.camel.example.reportincident;
-/**
- *
- */
public class MyBean {
+
public OutputReportIncident getOK() {
OutputReportIncident ok = new OutputReportIncident();
ok.setCode("0");
return ok;
}
+
}