You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by jman <jm...@hotmail.com> on 2016/06/15 20:28:59 UTC

How to load spring xml from console

Hi,

Is there a way to run spring *.xml file from the console.  It works fine if
i drop it in deploy folder, but i want to grab it from an external location,
preferably http.

I tried this but it didn't work:

bundle:install -s http://localhost:8300/static/camel-route.xml

btw, i'm running karaf 4.0.5

Cheers.

-J



--
View this message in context: http://karaf.922171.n3.nabble.com/How-to-load-spring-xml-from-console-tp4046875.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: How to load spring xml from console

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

It's not possible right now: the fact it works in deploy folder is 
because we use a SpringDeployer.

For blueprint, we provide a blueprint: protocol. We don't have the same 
for spring: AFAIR.

Regards
JB

On 06/15/2016 10:28 PM, jman wrote:
> Hi,
>
> Is there a way to run spring *.xml file from the console.  It works fine if
> i drop it in deploy folder, but i want to grab it from an external location,
> preferably http.
>
> I tried this but it didn't work:
>
> bundle:install -s http://localhost:8300/static/camel-route.xml
>
> btw, i'm running karaf 4.0.5
>
> Cheers.
>
> -J
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/How-to-load-spring-xml-from-console-tp4046875.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofr
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com