[
http://jira.codehaus.org/browse/XFIRE-870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tom Lambrechts updated XFIRE-870:
---------------------------------
Attachment: XFireClientFactoryBean.java
Workaround to configure client with spring
> Make createClient in XFireClientFactoryBean protected
> -----------------------------------------------------
>
> Key: XFIRE-870
> URL: http://jira.codehaus.org/browse/XFIRE-870
> Project: XFire
> Issue Type: Improvement
> Affects Versions: 1.2.4
> Reporter: Tom Lambrechts
> Assigned To: Dan Diephouse
> Attachments: XFireClientFactoryBean.java
>
> Original Estimate: 10 minutes
> Remaining Estimate: 10 minutes
>
> I would like to overwrite the XFireClientFactoryBean in a way that I can
> configure the client when it is created (spring) or use a client template.
> When using JMS I need to configure the client endpoint because there is no
> anonimous endpoint in JMS as there is in HTTP.
> By setting createClient protected there is a hook to configure the client
> when created.
> This is currently the only way to let jms work:
> Client client = ((XFireProxy)
> Proxy.getInvocationHandler(test)).getClient();
> client.setEndpointUri("jms://Sample.Q1");
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email