You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Manoranjitham G <ma...@polarisft.com> on 2013/11/25 09:56:42 UTC
Weblogic JMS
Hi,
I need to consume input from a file and based on the content I need to route
it to Weblogic JMS Queue and database. So I have to create Weblogic JMS
connection factory and that sholud be registered in JNDI. I have to do using
*Java DSL*. kindly help me to create connection factory and JNDI registry
using Java DSL. I don't find any examples for the same.
--
View this message in context: http://camel.465427.n5.nabble.com/Weblogic-JMS-tp5743788.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Weblogic JMS
Posted by Manoranjitham G <ma...@polarisft.com>.
Hi,
Thanks for your reply.. Somehow I got it..
String wlurl = "t3://localhost:7001/console";
String jndiFactory = "weblogic.jndi.WLInitialContextFactory";
Properties properties = new Properties();
properties.put(Context.INITIAL_CONTEXT_FACTORY,jndiFactory);
properties.put(Context.PROVIDER_URL, wlurl);
Context jndiContext = new InitialContext(properties);
QueueConnectionFactory queueConnectionFactory=
(QueueConnectionFactory)jndiContext.lookup("WLConnFactory");
CamelContext wlcontext = new DefaultCamelContext( jndiContext );
wlcontext.addComponent( "jms", JmsComponent.jmsComponentClientAcknowledge
( queueConnectionFactory ) );
This is what I meant.ie doin in Java DSL program..
Regards,
Manoranjitham G
From: "ceposta [via Camel]" <ml-node
+s465427n5743802h44@n5.nabble.com>
To: Manoranjitham G <ma...@polarisft.com>
Date: 11/25/2013 08:14 PM
Subject: Re: Weblogic JMS
Your request *kinda* doesn't make any sense.
Apache Camel is used to describe data flows. What you're asking is to
set up pre-runtime construction of configuration artifacts. Do this in
your spring context or WLS admin console.
On Mon, Nov 25, 2013 at 1:56 AM, Manoranjitham G
<[hidden email]> wrote:
> Hi,
>
> I need to consume input from a file and based on the content I need to
route
> it to Weblogic JMS Queue and database. So I have to create Weblogic JMS
> connection factory and that sholud be registered in JNDI. I have to do
using
> *Java DSL*. kindly help me to create connection factory and JNDI registry
> using Java DSL. I don't find any examples for the same.
>
>
>
> --
> View this message in context:
http://camel.465427.n5.nabble.com/Weblogic-JMS-tp5743788.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Christian Posta
http://www.christianposta.com/blog
twitter: @christianposta
http://www.christianposta.com/blog
If you reply to this email, your message will be added to the discussion
below:
http://camel.465427.n5.nabble.com/Weblogic-JMS-tp5743788p5743802.html
To unsubscribe from Weblogic JMS, click here.
NAML
This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.
Visit us at http://www.polarisFT.com
--
View this message in context: http://camel.465427.n5.nabble.com/Weblogic-JMS-tp5743788p5743812.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Weblogic JMS
Posted by Christian Posta <ch...@gmail.com>.
Your request *kinda* doesn't make any sense.
Apache Camel is used to describe data flows. What you're asking is to
set up pre-runtime construction of configuration artifacts. Do this in
your spring context or WLS admin console.
On Mon, Nov 25, 2013 at 1:56 AM, Manoranjitham G
<ma...@polarisft.com> wrote:
> Hi,
>
> I need to consume input from a file and based on the content I need to route
> it to Weblogic JMS Queue and database. So I have to create Weblogic JMS
> connection factory and that sholud be registered in JNDI. I have to do using
> *Java DSL*. kindly help me to create connection factory and JNDI registry
> using Java DSL. I don't find any examples for the same.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Weblogic-JMS-tp5743788.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Christian Posta
http://www.christianposta.com/blog
twitter: @christianposta