您可以使用ActivationSpec值来初始化MDB吗?

时间:2022-01-10 22:45:54

I have a JCA resource adapter that sends messages to a message-driven bean (MDB). I would like to be able to use the ActivationSpec properties to initialize the MDB instance. Is it possible to get the ActivationSpec while executing ejbCreate() in the MDB?

我有一个JCA资源适配器,它将消息发送到消息驱动的bean(MDB)。我希望能够使用ActivationSpec属性来初始化MDB实例。在MDB中执行ejbCreate()时是否可以获取ActivationSpec?

1 个解决方案

#1


0  

The activation config is intended for the RA, not the MDB. There is no spec-defined way for an MDB to access its activation config.

激活配置适用于RA,而不是MDB。 MDB没有规范定义的方式来访问其激活配置。

#1


0  

The activation config is intended for the RA, not the MDB. There is no spec-defined way for an MDB to access its activation config.

激活配置适用于RA,而不是MDB。 MDB没有规范定义的方式来访问其激活配置。