Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Service Oriented Java Business Integration
  • Table Of Contents Toc
Service Oriented Java Business Integration

Service Oriented Java Business Integration

4.1 (8)
close
close
Service Oriented Java Business Integration

Service Oriented Java Business Integration

4.1 (8)

Overview of this book

Table of Contents (23 chapters)
close
close
Service Oriented Java Business Integration
Credits
About the Author
Acknowledgement
About the Reviewers
Preface

Chapter 13. JBI Proxy

One of the most useful classes introduced by JDK 1.3 is the Proxy class in the java.lang.reflect package. It allows us to create classes implementing a particular type (interface) on the fly. ServiceMix provides a similar API in JBI so that we can proxy a particular service in the JBI bus. This helps us to implement many functionalities such as:

  • Intercepting and re-routing the services.

  • Wrapping and unwrapping messages targeted to a service.

  • Using request-message, formatted for a particular service type, for a different service type.

In this chapter, we will first revisit JDK Proxy classes. This will set a background for further reading wherein we will explain JBI Proxy in detail with examples for multiple scenarios. Then the developer will be able to make use of Proxy pattern within the JBI-based ESB, to suit their technical requirements.

We will cover the following in this chapter:

  • Proxy design pattern in general

  • Proxy support in Java SDK with examples

  • ServiceMix JBI Proxy...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Service Oriented Java Business Integration
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon