In my development setup I deployed a Resource Adapter to Wildfly 10. It seems to be working fine so far, yet I get a warning like this:
14:57:44,007 WARN [org.jboss.as.connector.deployment]
(MSC service thread 1-2)
WFLYJCA0028: @ConnectionFactoryDefinition will have limited management:
java:comp/env/eis/TestRAConnectionFactory
Searching after WFLYJCA0028
I found out that it used to be JBAS010427
and searching after that, brought up this post from 2014 of Jesper Pedersen:
Because @ConnectionFactoryDefinition is a broken concept, and is only meant for development. All the settings for the JCA container isn't/can't be exposed, and hence it is limited in the management view too (use :resource-adapters: instead).
Do NOT use @ConnectionFactoryDefinition for production environments ! You have been warned
Unfortunately beyond "Its a broken concept" it does not explain the problems (or I don't understand it) and I couldn't find any more detailed explanation on what potential problems could be and how to properly create a JCA connection factory instead.