[jbosstools-issues] [JBoss JIRA] Closed: (JBIDE-5873) Attributes in Notifier target tag removed (required for NotifyEmail)
Martin Malina (JIRA)
jira-events at lists.jboss.org
Tue Mar 30 06:05:44 EDT 2010
[ https://jira.jboss.org/jira/browse/JBIDE-5873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Malina closed JBIDE-5873.
--------------------------------
Verified in jbdevstudio-macosx-carbon-3.0.0.v201003100055R-H50-GA.jar .
> Attributes in Notifier target tag removed (required for NotifyEmail)
> --------------------------------------------------------------------
>
> Key: JBIDE-5873
> URL: https://jira.jboss.org/jira/browse/JBIDE-5873
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: XML Structured Editor
> Affects Versions: 3.1.0.CR1
> Environment: JBoss ESB 4.5, tried on both the CR1 version of tools and the current trunk build.
> Reporter: Bill Matson
> Assignee: Viacheslav Kabanovich
> Priority: Critical
> Fix For: 3.1.0.CR2
>
> Attachments: esb-actions.meta.patch, NotifyEmail_In_ESB1_2Editor.jpg
>
>
> The NotifyEmail notification target takes much of its configuration from attributes on the <target> tag. The 3.1 version of the tools appears to not support attributes on the <target> tag inside of a notifier action. They can be entered in the XML by hand, however they do not appear to be maintained when changes are made using the graphical editor.
> Since the NotifySqlTable is also configured via attributes on the <target> tag, it probably exhibits the same behavior (I haven't tested this one)....
> Sample one-action ESB service below. If you do the following you'll see the behavior:
> 1) Copy and paste ESB config into the XML editor.
> 2) Switch to the Tree view and change pretty much anything (i.e. change the name of the action from "TestNotifier" to anything else) and save
> 3) Switch back to XML view and that attributes on the <target> tag are gone.
> Sample ESB:
> <?xml version="1.0"?>
> <jbossesb parameterReloadSecs="5"
> xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.1.0.xsd"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.1.0.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.1.0.xsd">
> <services>
> <service category="TestCategory" description="Test" invmScope="GLOBAL" name="TestService">
> <actions>
> <action class="org.jboss.soa.esb.actions.Notifier" name="TestNotifier">
> <property name="destinations">
> <NotificationList type="OK">
> <target class="NotifyEmail" sendTo="someone at somewhere.com"
> subject="test" from="other at somewhere.com" />
> </NotificationList>
> </property>
> </action>
> </actions>
> </service>
> </services>
> </jbossesb>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list