1 of 1 people found this helpful
I think you're confused about what the activation configuration properties are doing in relation to the resource you're injecting. The bottom line is that they don't have anything to do with each other. The activation configuration properties are strictly for inbound communication for the MDB. The XAQueueConnectionFactory is completely independent of this. If you want to lookup a JMS connection factory pointing to a remote server then you'll need to configure the appropriately in the <resource-adapters> section of standalone*.xml or domain.xml. See this bit of documentation for more information.
Ok, thank you for the reply. And yes, I suspected they are independent. I was hoping there would be a way to configure a remote server for sending JMS. standalone*.xml configuration is server wide, so it is not applicable for all situations.
So - should I read this as so there is no way to do similar stuff that MDB can do with ActivationConfiguration for sending JMS and using a resource adapter? By similar I mean something that is contained in the application.