Forum Home » Fuse Distributions » Fuse Mediation Router

Thread: How to set a CXF endpoint in a Bean

 
This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Mar 1, 2012 11:38 AM Last Post By: davsclaus
johnwalker

Posts: 11
Registered: 09/10/11
How to set a CXF endpoint in a Bean
Posted: Mar 1, 2012 9:36 AM
 
  Click to reply to this thread Reply
Hi

How to set a CXF endpoint in a Bean ?

I'm collecting this endpoint from a DB.
The bean is itself called by spring DSL.

So something like:

Spring DSL
=========
<route id="r1">
<from uri="activemq:queue1" />
<bean ref="aBean" method="doSomething"/>

Java
====
void doSomething() {
// ..processing ..
setEndpoint("http://ws-endpoint.com/bla); // <--- What goes here ?
}

Thank you !

J.
davsclaus

Posts: 1,893
Registered: 10/14/08
Re: How to set a CXF endpoint in a Bean
Posted: Mar 1, 2012 11:38 AM   in response to: johnwalker in response to: johnwalker
 
  Click to reply to this thread Reply
What do you want to do from the bean?

Do you want to adjust an endpoint or what? Can you be more specific.