Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When the server is started, open your favorite browser and point to the following url http://localhost:8080/adminImage Removed using 'admin' as login and 'springsource' as password. In the administration page, click on the button "browse" to upload the different jars to be deployed. Select the folder where you have copied the following jars and upload them one by one (by respecting the jar stayorder)

  • camel-core-1.5.0.jar
  • camel-spring-1.5.0.jar
  • demo.service-bundle-0.1.0.jar
  • demo.camel-bundle-0.1.0.jar

When the bundles are uploaded, the screen is refreshed and shows a list of the deployed applications like this :

Name

Version

Origin

Date

Undeploy

org.apache.camel.camel-core

1.5

Admin Console

Dec 2, 2008 10:21:02 AM CET

undeploy

org.apache.camel.camel-spring

1.5

Admin Console

Dec 2, 2008 10:21:05 AM CET

undeploy

demo.demo.service-bundle

0.1

Admin Console

Dec 2, 2008 10:21:06 AM CET

undeploy

demo.demo.camel-bundle

0.1

Admin Console

Dec 2, 2008 10:21:07 AM CET

undeploy

To verify that the Camel service bundle works perfectly, open the trace.log file located in the folder :

Code Block

c:\springsource-dm-server-1.0.0.RELEASE\serviceability\trace\demo.demo.camel-bundle-0.1\trace.log

and you should see the following text

Code Block

[2008-12-02 10:43:19.500] edRate=true&period=10000                                                       System.out I >> call >> MyTransform set body:  Tue Dec 02 10:43:19 CET 2008
[2008-12-02 10:43:19.500] edRate=true&period=10000                        demo.service.TransformServiceImpl.unknown I >> call >>MyTransform set body:  Tue Dec 02 10:43:19 CET 2008
[2008-12-02 10:43:19.500] edRate=true&period=10000                                            ExampleRouter.unknown I Exchange[BodyType:String, Body:MyTransform set body:  Tue Dec 02 10:43:19 CET 2008]

Conclusion

#Resources

  • Attachments
    patterns.*part1.zip