<< 27-August-2008 : hausbot on #camel at codehaus [download] [back] >>
 
 
time nick message

08:24

<davsclaus>

willem is the jaxws extension in the wsdl something that is commonly used? I have never seens this before. I am not keen on adding this to .wsdl files. I want them to be platform neutral

08:24

<davsclaus>

CAMEL-723

08:25

<davsclaus>

willem maybe CAMEL-520 is something you could look at now that you are stream cache expert ;)

08:41

<willem>

davsclaus: There are some discription in the Chapter 8 of JAXWS 2.1 spec about the a standard customization facility that can be used to customize the WSDL 1.1 to Java binding.

08:43

<willem>

davscalus: In 8.4 you can use an external binding file without touching the WSDL , I am hearding on this example now :)

08:53

<davsclaus>

willem - ah that is great ;) would love to reuse existing wsdl that is platform neutral - glad you are working on this ;)

15:32

<jstrachan>

hadrian: BTW the JMX tree for Camel looks kinda wonky when looking at it in JMX tools - with ActiveMQ you can clearly see whats what with folders for Queues/Topics/Subscriptions/Connections and so forth - in camel the folder within camelContext looks a bit wonky

15:32

<jstrachan>

e.g. we maybe need a routes folder ro something

15:32

<jstrachan>

so within a context you have endpoints, context, routes or something

15:33

<hadrian>

jstrachan: so we'll need to play a bit again with the naming conventions

15:33

<jstrachan>

yeah

15:33

<hadrian>

i didn't look at that in quite a while

15:33

<hadrian>

time to get back to it

15:34

<jstrachan>

its kinda hard to do useful stuff in the FUSE web console currently as the JMX tree is kinda wonky

15:34

<jstrachan>

its maybe the 'consumer' mbeans that are looking wacky

15:35

<hadrian>

i didn't look at the web console either in months

15:35

<jstrachan>

try just jconsole - it looks wacky in there too

15:35

<jstrachan>

e.g. I've 2 routes; I see one route mbean, only one endpoint mbean (despite there being 3 in use)

15:36

<hadrian>

oh-oh, not good

15:37

<hadrian>

jstrachan: how does you settings.xml look like for building fuse-console?

15:41

<jstrachan>

hadrian: no special settings required - it doesnt use any special plugins

15:41

<jstrachan>

hadrian: try jconsole though first

15:42

<hadrian>

i will

15:42

<hadrian>

there was something for gwt, builing now

15:42

<jstrachan>

the gwt stuff is hard to run currently; other than in the fuse-activemq distro or your IDE if you set it up to run GWT stuff

15:49

<jstrachan>

is there no ManagedCamelContext btw?

15:50

<hadrian>

nope

15:54

<hadrian>

the DefaultCamelContext has an InstrumentationLifecycleStrategy that handles all that iirc

15:55

<jstrachan>

we're gonna need an mbean for CamelContext so we can do things like add/remove endpoint and ultimately one day add/remove routes etc

16:01

<hadrian>

jstrachan: yeah, i think there's still an open jira about that

16:02

<jstrachan>

fancy taking a stab at it? :)

16:03

<hadrian>

yeah, i think i played with it ages ago and put it off :)

16:03

<hadrian>

what good adding an endpoint if one cannot add a route?

16:03

<jstrachan>

e.g. if I wanna send to a queue Foo

16:03

<jstrachan>

from a management console

16:03

<jstrachan>

great endpoint "activemq:Foo"

16:03

<jstrachan>

then click the send operation on the endpoint mbean

16:03

<jstrachan>

(which we need too...)

16:04

<hadrian>

ah, so an implicit route from the console endpoint to the created enpoint

16:05

<hadrian>

where I got stuck last time, was the syntax in an exchange for creating routes :)

16:05

<jstrachan>

adding an endpoint is easy - it just takes a string - calls camelContext.getSingletonEndpoint(uri)

16:05

<hadrian>

yeah, the route was the issue

16:06

<jstrachan>

adding routes over JMX is gonna have to take an XML string really to avoid JMX serialization hell

16:06

<hadrian>

for the endpoint it's just a url, that's a string, easy

16:06

<jstrachan>

returning the available routes as XML would be handy too

16:06

<jstrachan>

yeah

16:07

<hadrian>

exactly, so if the route is a string, could be xml (ugly like hell), scala (not quite funny for many users)

16:07

<hadrian>

my preference would be a standalone integration DSL that would sorta formalize the patterns in the eip book

16:07

<hadrian>

i am still struggling with that

16:08

<jstrachan>

have a few methods taking different things...

16:08

<jstrachan>

addRoutefromXml(String); addRouteFromScala(....) etc

16:09

<jstrachan>

for Scala we'd probably add the add method on the Scala component or something

16:10

<hadrian>

addRouteFrom(Language, String)

16:13

<jstrachan>

sounds cool with me

16:51

<janstey>

btw I did up Eclipse templates for some of the Camel EIPs. Let me know what you think. http://janstey.blogspot.com/2008/08/eclipse-templates-for-apache-camel.html

16:53

<jstrachan>

yay

Drone v1.4 © 2002-2005 Uwyn RIFE powered