[esb-issues] [JBoss JIRA] Commented: (JBESB-1017) error in fun_cbr QS

Tom Fennelly (JIRA) jira-events at lists.jboss.org
Mon Oct 8 06:24:03 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBESB-1017?page=comments#action_12380909 ] 
            
Tom Fennelly commented on JBESB-1017:
-------------------------------------

I tried the attached quickstart and I'm not getting any errors.  I'm getting what I think you're expecting to get i.e Smooks initialised POJOs.  I also ran the trunk version of the quickstart, modified the input message so as to rout the message to the green team (statusCode="2") and saw that in it's case it was printing out XML insterad of the POJO values.

I'm going to close this for now as "can't reproduce".

....

After comparing the esb config with that of the fun_cbr on the trunk, I see some unusual differences....

The <messageProp> config on each of the service's NotifyQueues target config is inside the <queue> config Vs outside on the trunk version of the file e.g. on the trunk it looks like this:
				    	 <target class="NotifyQueues">
							<messageProp name="quickstart" value="Fun_CBR_Blue_Alert"/>
				   	       <queue jndiName="queue/quickstart_Fun_CBR_Blue_Alert">
					       </queue> 
			 	     	 </target>

Whereas in the attached quickstart, it's configured differently - the <messageProp> is nested inside the <queue> config:
				    	 <target class="NotifyQueues">
				   	       <queue jndiName="queue/quickstart_Fun_CBR_Blue_Alert">
					         	<messageProp name="quickstart" value="Fun_CBR_Blue_Alert" />
					       </queue> 
			 	     	 </target>

The quickstart *seems* to behave the same either way, so I'm not sure what effect this config is supposed to have.

> error in fun_cbr QS
> -------------------
>
>                 Key: JBESB-1017
>                 URL: http://jira.jboss.com/jira/browse/JBESB-1017
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Examples
>    Affects Versions: 4.2
>            Reporter: Jaroslaw Kijanowski
>         Assigned To: Tom Fennelly
>             Fix For: 4.2.1 IR2
>
>         Attachments: qs.tar.gz
>
>
> When I try to extend the QS as described in readme.txt (add three actions to the green service) I get:
> 18:04:15,413 INFO  [STDOUT] Green Team
> 18:04:15,488 ERROR [SmooksDOMFilter] Failed to apply processing unit [org.milyn.javabean.BeanPopulator] to [org:milyn:smooks:unknowndoc:/Order].
> org.milyn.cdr.SmooksConfigurationException: Bean [orderHeader] configuration invalid.  Bean setter method [setOrderDate(java.util.GregorianCalendar)] not found on type [org.jboss.soa.esb.dvdstore.OrderHeader].  You may need to set a 'decoder' on the binding config.
> It works fine with the dvdstore from transform_XML2POJO/src/org/jboss/soa/esb/dvdstore.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the esb-issues mailing list