Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!

Rajeev Mutalik

Greenhorn
+ Follow
since Jul 09, 2013
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rajeev Mutalik

Hi Vishnu, how did you manage to fix it. I am also facing similar issue now.

Thanks and Regards,
Rajeev
6 years ago
Hi,
I have a consumer which connects to activemq. Problem is when the activemq is restarted my consumer does not reconnect to activemq. So I need to restart my application for that. Can you please help me on how to go abt auto reconnect to activemq.

Got this info from apache website, but not sure where to edit the configuration.
failover: (tcp://primary:61616,tcp://secondary:61616)?randomize=false
failover: (tcp://localhost:61616,tcp://remotehost:61616)?initialReconnectDelay=100

Is it that I need to edit the following section of my broker-config.xml:
<transportConnectors>
<transportConnector name="local.broker" uri="tcp://localhost:61616"/>
</transportConnectors>

Have inserted space after "failover:" to avoid emoticons.
Thanks in advance.
Rajeev
Thanks a lot Mark and Bear.
7 years ago
JSP
I am trying to get the value from a bean and pass it across to a javascript. I am getting the error, the variable ptName is undefined. Can someone help me on this. Here is my code snippet.

<bean:define id="ptName" name="point" property="name"/>
<c:set var="searc" value="'" />
<c:set var="repl" value="`" />
<c:set var="ptName" value="${fn:replace(ptName, searc, repl)}"/>
<a href="javascript: parent.editPoint(parent.PointEditForm, '<bean:write name='point' property='id'/>', '<bean:write name='point' property='sortOrder'/>', ptName, '<bean:write name="point" property="info"/>', '<bean:write name='point' property='type.id'/>', '<bean:write name='point' property='sendMail'/>', '<bean:write name="point" property="mail"/>', '<bean:write name='point' property='CustList'/>', '<bean:write name='point' property='myId'/>', '<bean:write name='point' property='origin'/>' );">
7 years ago
JSP