Can the ActiveMQ Web Console Be Customized? - activemq

I'd like to customize the ActiveMQ web console to display a column for a custom header. Is this possible to do?

It is possible indeed, the web console files are located in %AMQROOT%/webapps/admin and it should be sufficient for applying small changes.
If you are looking for a more flexible way, I'd suggest you move over to hawtio (http://hawt.io/) and create your own fork of the activemq plugin (https://github.com/hawtio/hawtio/tree/master/hawtio-web/src/main/webapp/app/activemq).

Related

I Want to create a application which display list of installed application with help of android service

I Want to create a application which display list of installed application with help of android service.
Which android service to use in this scenario?
It depends on what you want, you can use WorkManager , it runs synchronously in the background, and it is very flexible, espcially if you want to schedule your work. You can also use Foreground Service if you want to show a notification while your app is running. You can use Bound Service if you want to exchange data between an activty and the service.
Before android Oreo, you could useIntent Service, but starting from Oreo, it started to cause an exception. You can also still use AsyncTask but it has serveral drawbacks and AsyncTask may be deprecated in the future.
This is an overview, you haven't mentioned specific details about your app, hope this overview will help choose which way you go.

How to set up an user just for JBoss CLI

I'd need to know if it's possible to setup a management user for the JBoss (AS7 and WildFly) which is valid just for the CLI (and not for the Web console).
Thanks
I'm afraid you can't since the CLI and the Web Console use the same API. Since also both may do the same stuff I don't see what you are trying to achieve.

System.out.println() messages in JBoss AS

Is there a straight forward approach for JBoss AS to print messages to the console in eclipse? I intend to use them only for debugging purposes and nothing more (I swear).
I'm new to JBoss and I don't know where to start and what to do to get my System.out.println()-messages appear in the console.
Unfortunately I have been struggling too long for today to achieve this rather natural requirement. I'm using JBoss AS 7.1.
edit:
Ok, looks like this time the problem is sitting in front of the screen. I couldn't find my logging even in the server.log. The reason is that the code which I was executing throwed an error which prevented the sysouts from being printed to the console. I'm sorry. Thank you for your help.
If you make a Sysout in your application, you can find it at the server.log, inside the folder $JBOSS_HOME/standalone/log
That, however, is not the best practice, since there's a lot of configuration and possibility at the log. You can check more information about that here
But, if you just say System.out.println('hello world') it will be out at server.log
All logging after the boot is made there so there you can check your System.out.println() stuff
With a default install a console handler and a file handler are configured. If you want to log to either you just need to use a logger. Printing to System.out or System.err it will work as well, but I would suggest using a logging facade like JBoss Logging, SLF4J or even just J.U.L.
If you're wanting to run JBoss AS inside eclipse the easiest way is to use JBoss Tools. You can start, stop and deploy your application from within eclipse locally for testing.
In my project I had 2 log4j.proprties files one is provided by jboss other is in my workspace. I removed one log4j.properties file now I am able to see sysout on the console.

Specify an app to startup first in Mule EE

I have one service manager app which all other apps on the current mule node use. I want this app to start up first before other apps.
Saw the documentation, http://www.mulesoft.org/documentation/display/MULE3USER/Application+Deployment
which mentions the order will be preserved for apps mentioned in the command line, but in my case, I want to only specify Service Manager app, any other app in the apps folder should be picked up. Since the list of other apps is dynamic, I dont want to specify that.
Is there any way (hack), I can use for my case?
The best option here would be to create a bash/bat script that generate the list of the other apps it got from an ls/dir command and then leverage the -app argumented you pointed out

Is there any http monitor for intellij idea GUI? Like the one in Netbeans?

I am a netbeans user, now I want to switch to Intellij IDEA.
But I can't find any working http monitor in Intellij IDEA GUI like the one in Netbeans. I want to use the http monitor to see the requests in Tomcat.
I have tried the plugin Axis Tcp monitor, it keeps saying Address already in use:JVM_Bind.
Any help?
You can try TunnelliJ plug-in.
You can also consider Axis TCP Monitor. I prefer it over TunnelliJ because it has XML Format option, which allows you to read xml request/response objects from the IDE itself.
If you will not stick to Intellij Idea tools/plugins and allow usage of external tools, I suggest to give a try to Telerik Fiddler 4:
https://www.telerik.com/download/fiddler
Among other things it could decrypt ssl traffic setting own certificate.