You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by LorenaAndrea <bi...@mypacks.net> on 2008/12/03 23:23:40 UTC

Visualization listener in the servicemix.xml

Hi,

I am trying to configure a simple visualization listener in the
servicemix.xml config file. 
An example is published @
http://docs.huihoo.com/apache/servicemix/visualisation.html but the html has
an issue so the instructions do not show...instead the html shows
Error formatting macro: snippet: java.lang.IllegalArgumentException: Invalid
url: must begin with a configured prefix. 

What do I need to change/add on the servicemix.xml file?

Thanks for any help!!!!! Lorena


-- 
View this message in context: http://www.nabble.com/Visualization-listener-in-the-servicemix.xml-tp20823002p20823002.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Visualization listener in the servicemix.xml

Posted by subh <su...@aol.com>.
Could you post your servicemix.xml or send it to me, I will have a look.

It works fine for me, I am using servicemix 3.2.2

rgds
subh


LorenaAndrea wrote:
> 
> I am getting now an error
> 
> Caught: org.springframework.beans.factory.BeanDefinitionStoreException:
> Unrecognized xbean element mapping: listeners in namespace
> http://servicemix.apache.org/config/1.0
> 
> We are using ServiceMix 3.2....
> 
> Thanks for the help.
> 
> ===============================================================================
> 
> 
> subh wrote:
>> 
>> You will need to add the following in servicemix.xml
>> 
>> <sm:listeners>
>>      <sm:dotViewFlowListener file="C:/ServiceMixComponentsFlow.dot"/>
>>      <sm:dotViewEndpointListener file="C:/ServiceMixComponentsEp.dot"/> 
>> </sm:listeners>
>> 
>> <sm:dotViewService container="#jbi" autoStart="true" />
>> 
>> That will create .DOT files in the path specified above, and you can use
>> "GVEdit" of Graphviz to open and see the files.
>> 
>> rgds
>> subh
>> 
>> 
>> LorenaAndrea wrote:
>>> 
>>> Hi,
>>> 
>>> I am trying to configure a simple visualization listener in the
>>> servicemix.xml config file. 
>>> An example is published @
>>> http://docs.huihoo.com/apache/servicemix/visualisation.html but the html
>>> has an issue so the instructions do not show...instead the html shows
>>> Error formatting macro: snippet: java.lang.IllegalArgumentException:
>>> Invalid url: must begin with a configured prefix. 
>>> 
>>> What do I need to change/add on the servicemix.xml file?
>>> 
>>> Thanks for any help!!!!! Lorena
>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Visualization-listener-in-the-servicemix.xml-tp20823002p20896956.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Visualization listener in the servicemix.xml

Posted by LorenaAndrea <bi...@mypacks.net>.
I am getting now an error

Caught: org.springframework.beans.factory.BeanDefinitionStoreException:
Unrecognized xbean element mapping: listeners in namespace
http://servicemix.apache.org/config/1.0

We are using ServiceMix 3.2....

Thanks for the help.

===============================================================================


subh wrote:
> 
> You will need to add the following in servicemix.xml
> 
> <sm:listeners>
>      <sm:dotViewFlowListener file="C:/ServiceMixComponentsFlow.dot"/>
>      <sm:dotViewEndpointListener file="C:/ServiceMixComponentsEp.dot"/> 
> </sm:listeners>
> 
> <sm:dotViewService container="#jbi" autoStart="true" />
> 
> That will create .DOT files in the path specified above, and you can use
> "GVEdit" of Graphviz to open and see the files.
> 
> rgds
> subh
> 
> 
> LorenaAndrea wrote:
>> 
>> Hi,
>> 
>> I am trying to configure a simple visualization listener in the
>> servicemix.xml config file. 
>> An example is published @
>> http://docs.huihoo.com/apache/servicemix/visualisation.html but the html
>> has an issue so the instructions do not show...instead the html shows
>> Error formatting macro: snippet: java.lang.IllegalArgumentException:
>> Invalid url: must begin with a configured prefix. 
>> 
>> What do I need to change/add on the servicemix.xml file?
>> 
>> Thanks for any help!!!!! Lorena
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Visualization-listener-in-the-servicemix.xml-tp20823002p20885979.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Visualization listener in the servicemix.xml

Posted by subh <su...@aol.com>.
You will need to add the following in servicemix.xml

<sm:listeners>
     <sm:dotViewFlowListener file="C:/ServiceMixComponentsFlow.dot"/>
     <sm:dotViewEndpointListener file="C:/ServiceMixComponentsEp.dot"/> 
</sm:listeners>

<sm:dotViewService container="#jbi" autoStart="true" />

That will create .DOT files in the path specified above, and you can use
"GVEdit" of Graphviz to open and see the files.

rgds
subh


LorenaAndrea wrote:
> 
> Hi,
> 
> I am trying to configure a simple visualization listener in the
> servicemix.xml config file. 
> An example is published @
> http://docs.huihoo.com/apache/servicemix/visualisation.html but the html
> has an issue so the instructions do not show...instead the html shows
> Error formatting macro: snippet: java.lang.IllegalArgumentException:
> Invalid url: must begin with a configured prefix. 
> 
> What do I need to change/add on the servicemix.xml file?
> 
> Thanks for any help!!!!! Lorena
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Visualization-listener-in-the-servicemix.xml-tp20823002p20862729.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.