[wildfly-dev] Making RemoteConnectionFactory available in subsystem

Dejan Kitic kdejan at gmail.com
Tue Jun 17 07:27:43 EDT 2014


Hi guys,

I am trying to figure out if it's possible to make HornetQ
RemoteConnectionFactory available within subsystem using something like:

 final CastingInjector<ConnectionFactory> connFactInjector = new
CastingInjector<ConnectionFactory>(connFactInjector,

                ConnectionFactory.class);

and then doing something like:


...

.addDependency(ConnectionFactoryService.SERVICE_NAME, connFactInjector)



within SubsystemAdd performRuntime.

Above is just thinking on the subject, the actual problem would be what to
put in the addDependency call for service name, and even how to specify
that I need to wait for the RemoteConnectionFactory to become available.

Might be completely off with this, so any help is appreciated.

Regards,
Dejan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20140617/e3a4c3b2/attachment-0001.html 


More information about the wildfly-dev mailing list