cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Casado <mar...@ucar.edu>
Subject Re: Configuring the Jetty Runtime - specifying port via Spring property placeholders
Date Sat, 31 Oct 2009 04:19:29 GMT

Hi,

I'm using FUSE ESB 4.1.0.2 that I believe has CXF 2.2.2.1-fuse installed.
I'm trying to achieve the same but i can not upgrade CXF . Is there another
solution ?

Thanks,

-Marcel



dkulp wrote:
> 
> 
> 
> What version of CXF?    Definitely upgrade to the latest.    There was
> some 
> bugs in some of our custom namespace handlers that use JAXB under the
> covers 
> that wasn't allowing the properties to be injected.   That was fixed a
> little 
> while ago though.
> 
> Dan
> 
> On Tue October 20 2009 8:41:54 am szczepiq wrote:
>> Hi,
>> 
>> Following the wiki entry:
>> http://cwiki.apache.org/CXF20DOC/jetty-configuration.html
>> 
>> There is any example:
>> 
>> <httpj:engine-factory bus="cxf">
>>     ...
>>     <httpj:engine port="9001">
>>       ...
>> 
>> How can I make the engine *port* configurable via Spring property
>>  placeholders?
>> 
>> I tried following:
>> 
>> <httpj:engine port="${service.port}">
>> 
>> However, it doesn't work. I can understand why it doesn't work:
>> httpj:engine is a schema extension, not a typical bean wiring stuff
>> where property placeholders work out of the box.
>> 
>> The question is how can I make it working so that I can configure the
>> port via a property?
>> 
>> Thanks!
>> Szczepan
>> 
> 
> -- 
> Daniel Kulp
> dkulp@apache.org
> http://www.dankulp.com/blog
> 
> 

-- 
View this message in context: http://old.nabble.com/Configuring-the-Jetty-Runtime---specifying-port-via-Spring-property--placeholders-tp25974390p26139804.html
Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message