Bug 1090960 - Allow property injection into non-service beans
Summary: Allow property injection into non-service beans
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: SwitchYard
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Rob Cernich
QA Contact: Matej Melko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-24 13:23 UTC by Anton Giertli
Modified: 2025-02-10 03:35 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:35:41 UTC
Type: Feature Request
Embargoed:


Attachments (Terms of Use)
reproducer (73.07 KB, application/zip)
2014-04-24 13:23 UTC, Anton Giertli
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SWITCHYARD-1993 0 Optional Open Allow for injection of parameters into non-service annotated classes 2015-08-24 06:25:31 UTC

Description Anton Giertli 2014-04-24 13:23:23 UTC
Created attachment 889280 [details]
reproducer

Description of problem:
Currently it is not possible to inject property into other bean besides service.

For example:

@Named("UpdateStatus")
public class OrderInterceptor implements ExchangeInterceptor {
	
	@Property(name = "propertyName")
    private String propertyName; 
	

	
	

    @Override
    public void before(String target, Exchange exchange) throws HandlerException {

//propertyName is always null
       }

Version-Release number of selected component (if applicable):
FSW 6.0.0

How reproducible:

always
Steps to Reproduce:
1. download reproducer
2. mvn clean package jboss:as-deploy (running FSW is required)
3. mvn exec:java


Actual results:

Property value is always null

Expected results:

Property value is correctly retrieved
Additional info:

Comment 5 Red Hat Bugzilla 2025-02-10 03:35:41 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


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