Hi all,
i'm trying transactions in Orion
1.5.4.
I have SessionBean with
transaction-typeContainer.
The SessionBean has a methodwith
trans-attributeNever.Then I change it to Mandatory.
But bothsteps runs ok! By EJB specification
one of that steps must throw some TransactionException.
In
Hi,
I used Orion 1.5.4 with OpenJms 0.7.2. Look at resourceprovider.html page
in Orion's docs, it describes how to map jndi names to the OpenJms scope.
But what probably does not work is using durable subscriber in MDB (because
there is no possibility to specify subscriber name in DD).
TK
-
Hi,
I'm sending message via topic:
ObjectMessage
message = session.createObjectMessage(new
Event());
session.createPublisher(topic).publish(message, deliveryMode, priority,
expiration);
When I catch the message in my MDB,I get
exception in getObject():
public void
onMessage(Message msg)
I solved this problem by putting transmitting class
(Event) into orion's lib directory.It's not clear solution, but it
works.
I realized that bean's classloader knows the where
the class Event is, but message's classloader knows only path to orion's
lib.
TK
- Original Message -
Hi,
I'm using Orion 1.5.4 with OpeJMS 0.7.2. I want to
use topic with durable subscription. Does anybody know, how/where to specify
subscription NAME? I think it must be in orion-ejb-jar.xml. I couldn't find this
in neither docs nor conference.
Thanks, Tom