Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1061764 - Change the type of setProperty's value to Object in ReferenceInvocation
Summary: Change the type of setProperty's value to Object in ReferenceInvocation
Keywords:
Status: NEW
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: SwitchYard
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Keith Babo
QA Contact: Matej Melko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-05 15:04 UTC by Tomas Rohovsky
Modified: 2016-01-04 07:50 UTC (History)
2 users (show)

Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
JBoss Issue Tracker SWITCHYARD-1960 Major Open Change the type of setProperty's value to Object in ReferenceInvocation 2014-09-08 09:31:35 UTC

Description Tomas Rohovsky 2014-02-05 15:04:48 UTC
The parameter 'value' in https://github.com/jboss-switchyard/components/blob/master/bean/src/main/java/org/switchyard/component/bean/internal/ExchangeInvocation.java#L77 should be Object and not just String.

Workaround:

Instead of invocation.setProperty("{urn:foo}bar", new Integer(123)); use invocation.getMessage().getContext().setProperty("{urn:foo}bar", new Integer(123));


Note You need to log in before you can comment on or make changes to this bug.