You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by James Strachan <ja...@gmail.com> on 2006/08/01 20:11:10 UTC
support for IDE completion when editing Spring XML files configuring an ActiveMQ broker
Here's a little example using 4.1-SNAPSHOT where we use a regular
Spring 2.0 XML file but embed the declaration of the ActiveMQ broker
using an XSD which allows XML editors and IDEs like eclipse/IntelliJ
to smart complete the XML...
http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/spring-embedded-xbean.xml
I often prefer using xmlns="..." on the <broker> element to make the
XML a little cleaner and easier to read but that seemed to break
eclipse's smart completion, so using a namespace prefix seems best :)
--
James
-------
http://radio.weblogs.com/0112098/
Re: support for IDE completion when editing Spring XML files configuring an ActiveMQ broker
Posted by James Strachan <ja...@gmail.com>.
On 8/1/06, James Strachan <ja...@gmail.com> wrote:
> On 8/1/06, Hiram Chirino <hi...@hiramchirino.com> wrote:
> > Great job!
> >
> > BTW: you should be able to use amq:connectionFactory and amq:queue to
> > make your example even more consise.
>
> Great idea! :)
Ah - I tried it but its not quite working with the XSD. I think we
might need to add an optional 'id' attribute to things that could be
used as a top level POJO for the ID/IDREF stuff in Spring. Will
investigate further - I think we might need to patch the
auto-generated XSDs a tad
--
James
-------
http://radio.weblogs.com/0112098/
Re: support for IDE completion when editing Spring XML files configuring an ActiveMQ broker
Posted by James Strachan <ja...@gmail.com>.
On 8/1/06, Hiram Chirino <hi...@hiramchirino.com> wrote:
> Great job!
>
> BTW: you should be able to use amq:connectionFactory and amq:queue to
> make your example even more consise.
Great idea! :)
--
James
-------
http://radio.weblogs.com/0112098/
Re: support for IDE completion when editing Spring XML files configuring an ActiveMQ broker
Posted by Hiram Chirino <hi...@hiramchirino.com>.
Great job!
BTW: you should be able to use amq:connectionFactory and amq:queue to
make your example even more consise.
On 8/1/06, James Strachan <ja...@gmail.com> wrote:
> Here's a little example using 4.1-SNAPSHOT where we use a regular
> Spring 2.0 XML file but embed the declaration of the ActiveMQ broker
> using an XSD which allows XML editors and IDEs like eclipse/IntelliJ
> to smart complete the XML...
>
> http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/spring-embedded-xbean.xml
>
> I often prefer using xmlns="..." on the <broker> element to make the
> XML a little cleaner and easier to read but that seemed to break
> eclipse's smart completion, so using a namespace prefix seems best :)
> --
>
> James
> -------
> http://radio.weblogs.com/0112098/
>
--
Regards,
Hiram
Blog: http://hiramchirino.com