I want to get the exchange body in cxf interceptor and make it as a camel exchange property. So that I can use this property in any processor or bean methods.
I tried to get exchange with
message.getExchange()
but it will return a cxf exchange. How can I use the org.apache.cxf.message.Message to get the org.apache.camel.Exchange.
How to get camel exchange in cxf interceptor
1.1k Views Asked by tvshajeer At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in APACHE-CAMEL
- Scala POJO Aggregator Exception
- Extract data from JSON in vanilla Java/Camel/Spring
- Camel route, unparsed date
- Camel rabbitmq + convertSendAndReceive() : Could not convert incoming message with content-type [null]
- Apache Camel: How to test for instance of Set<CustomObject>
- Monitoring Multiple Instances of camel web application in a single Dashboard
- Can I split compressed files into json components in Camel via Spring DSL
- Database not update when using apache camel sql component
- Error Injecting endpoint into a bean in Camel
- How to define common route body in camel configuration?
- NoInitialContextException in Apache Camel
- How to notify when a Camel seda queue is complete?
- How to access Default Idempotent Repository map from java dsl?
- Camel HTTP End point Special Charcter(+) issue
- Camel Route as a String load and Run
Related Questions in CXF
- Apache CXF LoggingFeature settings
- Mule: Migrating to the New HTTP Connector
- JAX-WS WebService via CXF provides inaccurate wsdl
- How to define common route body in camel configuration?
- Removing namespace from Soap Response Camel CXF
- The signature or decryption was invalid when verifying with cxf
- apache cxf - convert WSDL to Java
- Apache CXF + JavaFX No conduit initiator was found for the namespace
- Extended server_name (SNI Extension) not sent with jdk1.8.0 but send with jdk1.7.0
- Getting Error in SOAP POST request using Apache CXF but curl works
- CXF WS-Security - X509IssuerSerial validation fails
- CXF 3 Memory Leak
- Apache Camel and CXF JAX-RS Rest Service(s) End Point Routing and Proxy Server
- How to invalidate session by CXF Interceptor?
- Caused by: javax.ws.rs.NotFoundException
Related Questions in JBOSSFUSE
- Issue with JPA in JBoss Fuse 6.2
- who to create multiple instance of JBOSS Fuse 6.1
- JBoss Fuse container: Karaf or Wildfly
- Refactoring some legacy camel code, is this code unnecessary or am I missing something?
- Conditional uninstall of OSGi feature
- just install jboss-fuse but management console is not reachable
- Nmr installation on ServiceMix 4
- Fuse ESB: CXF message enrichment from intermediate service
- FUSE hibernate application throws No Session found for current thread exception
- JBoss Fuse JMX not working
- Where can I found the placeholder schema for camel?
- Jboss EAP 6.4 not excluding modules
- FUSE hibernate with CXF
- Karaf MSSQL not working
- Apache Camel Code Generation in JBoss
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Perhaps you cannot do it exact that way because CXF interceptors are beyond Camel and have no idea about Camel. Camel Exchange is above CXF. But if you need to do exact what you said:
What does prevent you from doing that in the processor at very first step in Camel route? Why do you try to do that in CXF Interceptor?