Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Aug 2007
    Location
    Jakarta
    Posts
    10

    NamingContextFactory and Logger question

    Hi all,
    I have some configuration questions regarding the Generator / StockQuoteJMSAdapter example.

    1. What class should initialContextFactory (in the conf file) points to? should that always be org.jnp.NamingContextFactory?
    Can it be run independently without JBoss or EMS? (currently, we're using ActiveMQ for messaging engine, which has JMS incorporated in it)

    2. Inherently, Lightstreamers logging is done by java.util.Logging (is this correct?). So if our modules are using org.apache.Logger, can this be specified in the conf (or adapters.xml) file?

    Thanks in advance for any explanations.

    Gerald

  2. #2
    Member
    Join Date
    Aug 2007
    Location
    Jakarta
    Posts
    10

    Smile Re: I've resolved my own questions

    #My ActiveMQ configuration
    jmsUrl=tcp://10.10.100.36:61616
    initialContextFactory=org.apache.activemq.jndi.Act iveMQInitialContextFactory
    topicConnectionFactory=TopicConnectionFactory
    queueConnectionFactory=QueueConnectionFactory
    topicName=myTopicName
    queueName=myQueueName

    -----
    And for the Logger question:
    Yes, indeed apache logger is used.

    For sure I'll be back for more questions.

    Thanks,


    Gerald

  3. #3
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Gerald,
    Thanks for sharing your successful ActiveMQ configuration.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 06:05 PM.