I think it should not be hard to change, just move the createDestination()
call from create()
in start() in the JMSContainerInvoker.

----- Original Message -----
From: "David Jencks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 08, 2002 4:05 PM
Subject: Re: [JBoss-user] topic service within an ear


> MDB shouldn't rely on the existence of outside objects until the start
> step.  How hard would this be to change?
>
> david jencks
>
> On 2002.07.08 14:57:17 -0400 Julien Viet wrote:
> >  I want to pack a topic service within my ear.
> >
> >  The problem is that the topic is created and registered in JNDI after
> > my MDB checks for its existence.
> >
> >  The Topic service binds in startService() and MDB check existence of
> > topic in createService().
> >
> >  Therefore MDB creates a temporary topic and after my Topic can't be
> > bound.
> >
> >  Is there a solution for that ?
> >
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > <HTML><HEAD>
> > <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
> > <META content="MSHTML 6.00.2600.0" name=GENERATOR>
> > <STYLE></STYLE>
> > </HEAD>
> > <BODY bgColor=#ffffff>
> > <DIV><FONT face=Arial size=2>&nbsp;I want to pack&nbsp;a topic service
> > within my
> > ear.</FONT></DIV>
> > <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> > <DIV><FONT face=Arial size=2>&nbsp;The problem is that the topic is
> > created and
> > registered in JNDI after&nbsp; </FONT><FONT face=Arial size=2>my MDB
> > checks
> > for&nbsp;its existence.</FONT></DIV>
> > <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> > <DIV><FONT face=Arial size=2>&nbsp;The Topic service binds&nbsp;in
> > startService() and MDB check existence of topic in
> > createService().</FONT></DIV>
> > <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> > <DIV><FONT face=Arial size=2>&nbsp;Therefore MDB creates </FONT><FONT
> > face=Arial
> > size=2>a temporary topic and after my Topic can't be bound.</FONT></DIV>
> > <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> > <DIV><FONT face=Arial size=2>&nbsp;Is there a solution for that
> > ?</FONT></DIV>
> > <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>
> >
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Oh, it's good to be a geek.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Oh, it's good to be a geek.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to